From caedf61f942790cbffbbfecf0104880fdb90f6fe 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@232 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/SWIG1.1/main.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/SWIG/Source/SWIG1.1/main.cxx b/SWIG/Source/SWIG1.1/main.cxx index bd53b2945..03e3885db 100644 --- a/SWIG/Source/SWIG1.1/main.cxx +++ b/SWIG/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