Don't use BOOST_NO_STDC_NAMESPACE for gcc, since "ignore std mode" makes

it work well enough.


[SVN r11244]
This commit is contained in:
Darin Adler
2001-09-25 06:48:48 +00:00
parent 4b93dfc2e5
commit 703da5eb9b

View File

@ -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