summaryrefslogtreecommitdiff
path: root/support/cpp/libcpp/init.c
diff options
context:
space:
mode:
authorspth <spth@4a8a32a2-be11-0410-ad9d-d568d2c75423>2015-10-26 16:52:37 +0000
committerspth <spth@4a8a32a2-be11-0410-ad9d-d568d2c75423>2015-10-26 16:52:37 +0000
commitf3dc00bb010282c3fc639f5cbfbcfa95f696ecfb (patch)
tree575ae58fcd877bb7d2b3ddaef9501c02fff0b589 /support/cpp/libcpp/init.c
parent356e29e3208b2ebb7a2320be33fae29312fd88c8 (diff)
Merge cpp-merge-upstream branch to get improved standard support.
git-svn-id: https://svn.code.sourceforge.net/p/sdcc/code/trunk/sdcc@9379 4a8a32a2-be11-0410-ad9d-d568d2c75423
Diffstat (limited to 'support/cpp/libcpp/init.c')
-rw-r--r--support/cpp/libcpp/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/cpp/libcpp/init.c b/support/cpp/libcpp/init.c
index 7960513c4..ccbc83df4 100644
--- a/support/cpp/libcpp/init.c
+++ b/support/cpp/libcpp/init.c
@@ -465,7 +465,7 @@ cpp_init_builtins (cpp_reader *pfile, int hosted)
_cpp_define_builtin (pfile, "__STDC_VERSION__ 199409L");
else if (CPP_OPTION (pfile, lang) == CLK_STDC1X
|| CPP_OPTION (pfile, lang) == CLK_GNUC1X)
- _cpp_define_builtin (pfile, "__STDC_VERSION__ 201000L");
+ _cpp_define_builtin (pfile, "__STDC_VERSION__ 201112L");
else if (CPP_OPTION (pfile, c99))
_cpp_define_builtin (pfile, "__STDC_VERSION__ 199901L");