From 703da5eb9b1648a685f38567016e3e22d7a4af24 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Tue, 25 Sep 2001 06:48:48 +0000 Subject: [PATCH] Don't use BOOST_NO_STDC_NAMESPACE for gcc, since "ignore std mode" makes it work well enough. [SVN r11244] --- include/boost/config/platform/macos.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/boost/config/platform/macos.hpp b/include/boost/config/platform/macos.hpp index 010352a7..52dbf805 100644 --- a/include/boost/config/platform/macos.hpp +++ b/include/boost/config/platform/macos.hpp @@ -11,13 +11,22 @@ // If __MACH__, we're using the BSD standard C library, not the MSL: #if defined(__MACH__) + # define BOOST_NO_CTYPE_FUNCTIONS # define BOOST_NO_CWCHAR -# define BOOST_NO_STDC_NAMESPACE # ifndef BOOST_HAS_UNISTD_H # define BOOST_HAS_UNISTD_H # endif # ifndef BOOST_HAS_STDINT_H # define BOOST_HAS_STDINT_H # endif + +# ifndef __APPLE_CC__ + +// GCC strange "ignore std" mode works better if you pretend everything +// is in the std namespace, for the most part. + +# define BOOST_NO_STDC_NAMESPACE +# endif + #endif