From 01dc5b60d0f5f0e286916b12aaa9f276459838eb Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Fri, 11 Feb 2000 21:45:30 +0000 Subject: [PATCH] Added __STDC__ definition. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@232 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Source/SWIG1.1/main.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/SWIG1.1/main.cxx b/Source/SWIG1.1/main.cxx index bd53b2945..03e3885db 100644 --- a/Source/SWIG1.1/main.cxx +++ b/Source/SWIG1.1/main.cxx @@ -138,6 +138,7 @@ int SWIG_main(int argc, char *argv[], Language *l) { // and C files) Preprocessor_define((DOH *) "SWIG 1", 0); + Preprocessor_define((DOH *) "__STDC__", 0); #ifdef MACSWIG Preprocessor_define((DOH *) "SWIGMAC 1", 0); #endif