From 07c25db76840328b45ab8ef66582c169027e5a7f Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 8 Oct 2009 15:00:25 +0000 Subject: [PATCH] Added the __STDC_HOSTED__ macro. git-svn-id: svn://svn.cc65.org/cc65/trunk@4349 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/compile.c | 4 ++++ 1 file changed, 4 insertions(+) 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 (); -- 2.39.5