From: uz Date: Thu, 8 Oct 2009 15:00:25 +0000 (+0000) Subject: Added the __STDC_HOSTED__ macro. X-Git-Tag: V2.13.1~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=07c25db76840328b45ab8ef66582c169027e5a7f;p=cc65 Added the __STDC_HOSTED__ macro. git-svn-id: svn://svn.cc65.org/cc65/trunk@4349 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/compile.c b/src/cc65/compile.c index 6429e09f7..c5024fb82 100644 --- a/src/cc65/compile.c +++ b/src/cc65/compile.c @@ -334,6 +334,10 @@ void Compile (const char* FileName) strftime (TimeStr, sizeof (TimeStr), "\"%H:%M:%S\"", TM); DefineTextMacro ("__DATE__", DateStr); DefineTextMacro ("__TIME__", TimeStr); + + /* Other standard macros */ + /* DefineNumericMacro ("__STDC__", 1); <- not now */ + DefineNumericMacro ("__STDC_HOSTED__", 1); /* Initialize the literal pool */ InitLiteralPool ();