DescriptionFix to compile successfully with -Wundef
-Wundef warns about "#if FOO" when FOO is undefined.
gcc warns about this even for an #if branch that is not reached (due
to being excluded by an earlier #if), hence the checks before using
SYS_PREFIX.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2787
TEST="gcc -c linux_syscall_support.h -Wundef" on gcc 4.4.3 (Ubuntu Lucid)
Committed: https://code.google.com/p/linux-syscall-support/source/detail?r=11
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|