commit | 88a55e021b5cf8114901c5354894bfec13d13157 | [log] [tgz] |
---|---|---|
author | mseaborn@chromium.org <mseaborn@chromium.org@829466d3-f3f5-3ae4-62ad-de35cf9bba21> | Thu Jun 14 19:43:32 2012 +0000 |
committer | mseaborn@chromium.org <mseaborn@chromium.org@829466d3-f3f5-3ae4-62ad-de35cf9bba21> | Thu Jun 14 19:43:32 2012 +0000 |
tree | 003a7ebded4835ff1066ea5604de9a6ffcd9d81a | |
parent | a659148a431bbd838e4e01786eecffd7af9f4322 [diff] |
Fix 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) Review URL: https://chromiumcodereview.appspot.com/10536175 git-svn-id: http://linux-syscall-support.googlecode.com/svn/trunk/lss@11 829466d3-f3f5-3ae4-62ad-de35cf9bba21