# HG changeset patch # User diego # Date 1233359413 0 # Node ID 450a1c5bab22dd56310cf8801e4dfc9a43d630b6 # Parent 24a7b5d0eb27a4784f36b62321e3043a206febca Use '#if defined()' for OS-specific preprocessor checks. Avoids some warnings about undefined preprocessor directives. diff -r 24a7b5d0eb27 -r 450a1c5bab22 ppc/check_altivec.c --- a/ppc/check_altivec.c Fri Jan 30 23:13:19 2009 +0000 +++ b/ppc/check_altivec.c Fri Jan 30 23:50:13 2009 +0000 @@ -25,11 +25,11 @@ #ifdef __APPLE__ #undef _POSIX_C_SOURCE #include -#elif __OpenBSD__ +#elif defined(__OpenBSD__) #include #include #include -#elif __AMIGAOS4__ +#elif defined(__AMIGAOS4__) #include #include #include