Added __STDC__ definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2768452a27
commit
caedf61f94
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ int SWIG_main(int argc, char *argv[], Language *l) {
|
||||||
// and C files)
|
// and C files)
|
||||||
|
|
||||||
Preprocessor_define((DOH *) "SWIG 1", 0);
|
Preprocessor_define((DOH *) "SWIG 1", 0);
|
||||||
|
Preprocessor_define((DOH *) "__STDC__", 0);
|
||||||
#ifdef MACSWIG
|
#ifdef MACSWIG
|
||||||
Preprocessor_define((DOH *) "SWIGMAC 1", 0);
|
Preprocessor_define((DOH *) "SWIGMAC 1", 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue