Fix ifdef check to be more correct

This commit is contained in:
Stefan `Sec` Zehl 2011-08-12 20:24:56 +02:00
parent 9cafb1670a
commit 4ec0525b3a
1 changed files with 2 additions and 2 deletions

View File

@ -78,9 +78,9 @@ File::Find::find({wanted => \&wanted}, '.');
print C ""; print C "";
print C <<EOF; print C <<EOF;
#ifndef __APPLE__ #ifndef SIMULATOR
__attribute__ ((used, section("table"))) __attribute__ ((used, section("table")))
#endif /* __APPLE__ */ #endif /* SIMULATOR */
const void * TheTable[]={ const void * TheTable[]={
EOF EOF