aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a73e94..68bb4f0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define
+ __STDC_VERSION__=199901L, _XOPEN_SOURCE=600 for C++.
+
2010-06-21 Nick Clifton <nickc@redhat.com>
* config/rx/rx.h (PTRDIFF_TYPE): Define.
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index 98e54e6..7b7ce2b 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -99,7 +99,8 @@ along with GCC; see the file COPYING3. If not see
library. */ \
if (c_dialect_cxx ()) \
{ \
- builtin_define ("_XOPEN_SOURCE=500"); \
+ builtin_define ("__STDC_VERSION__=199901L");\
+ builtin_define ("_XOPEN_SOURCE=600"); \
builtin_define ("_LARGEFILE_SOURCE=1"); \
builtin_define ("_LARGEFILE64_SOURCE=1"); \
builtin_define ("__EXTENSIONS__"); \