[x264-devel] commit: Add support for FSF GCC version >= 4.3 on OSX. (Guillaume Poirier )

git version control git at videolan.org
Sat Dec 13 13:50:35 CET 2008


x264 | branch: master | Guillaume Poirier <gpoirier at mplayerhq.hu> | Mon Dec  8 21:11:45 2008 +0100| [9089d217078450fad075b5eb61f372572d094a5f] | committer: Guillaume Poirier 

Add support for FSF GCC version >= 4.3 on OSX.
So far, only Apple GCC version was supported.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=9089d217078450fad075b5eb61f372572d094a5f
---

 common/ppc/ppccommon.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/ppc/ppccommon.h b/common/ppc/ppccommon.h
index b9b718d..efafe69 100644
--- a/common/ppc/ppccommon.h
+++ b/common/ppc/ppccommon.h
@@ -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}



More information about the x264-devel mailing list