--- dbg/include/upcr_geninclude/math.h 2007-12-14 03:23:55.000000000 -0800 +++ dbg/include/upcr_geninclude/math.h 2007-12-14 03:25:28.000000000 -0800 @@ -256,7 +256,7 @@ #else /* __BERKELEY_UPC_FIRST_PREPROCESS__ */ /* Thinnest possible wrapper... */ -#if __APPLE_CC__ > 1 && __APPLE_CC__ <= 5341 && !__DARWIN_UNIX03 +#if __APPLE_CC__ > 1 && __APPLE_CC__ <= 5341 && !__DARWIN_UNIX03 && __POWERPC__ /* workaround an OSX 10.4 warning caused by a bug in /usr/include/architecture/ppc/math.h, which gcc hides when math.h is in a system dir, but fails to hide when we include it by full path in the wrapper below. --- opt/include/upcr_geninclude/math.h 2007-12-14 03:23:55.000000000 -0800 +++ opt/include/upcr_geninclude/math.h 2007-12-14 03:25:28.000000000 -0800 @@ -256,7 +256,7 @@ #else /* __BERKELEY_UPC_FIRST_PREPROCESS__ */ /* Thinnest possible wrapper... */ -#if __APPLE_CC__ > 1 && __APPLE_CC__ <= 5341 && !__DARWIN_UNIX03 +#if __APPLE_CC__ > 1 && __APPLE_CC__ <= 5341 && !__DARWIN_UNIX03 && __POWERPC__ /* workaround an OSX 10.4 warning caused by a bug in /usr/include/architecture/ppc/math.h, which gcc hides when math.h is in a system dir, but fails to hide when we include it by full path in the wrapper below.