]> git.sesse.net Git - x264/commitdiff
Add support for FSF GCC version >= 4.3 on OSX.
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Mon, 8 Dec 2008 20:11:45 +0000 (21:11 +0100)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sat, 13 Dec 2008 12:50:13 +0000 (13:50 +0100)
So far, only Apple GCC version was supported.

common/ppc/ppccommon.h

index b9b718d3a7632aa185f4b4472f019d008aafdac5..efafe693ae7b9b2e4553544a499a846a9b4b3956 100644 (file)
@@ -21,7 +21,7 @@
 /***********************************************************************
  * For constant vectors, use parentheses on OS X and braces on Linux
  **********************************************************************/
-#ifdef SYS_MACOSX
+#if defined(__APPLE__) && __GNUC__ < 4
 #define CV(a...) (a)
 #else
 #define CV(a...) {a}