forked from boostorg/config
Fix unistd.h include guards.
[SVN r66833]
This commit is contained in:
@ -62,7 +62,13 @@
|
||||
# undef BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
// Apple doesn't seem to reliably defined a *unix* macro
|
||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
||||
|| defined(__unix) \
|
||||
|| defined(unix) \
|
||||
|| defined(__APPLE__) \
|
||||
|| defined(__APPLE) \
|
||||
|| defined(APPLE)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,13 @@
|
||||
# define BOOST_NO_STRINGSTREAM
|
||||
#endif
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
// Apple doesn't seem to reliably defined a *unix* macro
|
||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
||||
|| defined(__unix) \
|
||||
|| defined(unix) \
|
||||
|| defined(__APPLE__) \
|
||||
|| defined(__APPLE) \
|
||||
|| defined(APPLE)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -16,7 +16,13 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
// Apple doesn't seem to reliably defined a *unix* macro
|
||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
||||
|| defined(__unix) \
|
||||
|| defined(unix) \
|
||||
|| defined(__APPLE__) \
|
||||
|| defined(__APPLE) \
|
||||
|| defined(APPLE)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -12,7 +12,13 @@
|
||||
#define BOOST_HAS_MACRO_USE_FACET
|
||||
#define BOOST_NO_STD_MESSAGES
|
||||
|
||||
#if !defined(CYGWIN)
|
||||
// Apple doesn't seem to reliably defined a *unix* macro
|
||||
#if !defined(CYGWIN) && ( defined(__unix__) \
|
||||
|| defined(__unix) \
|
||||
|| defined(unix) \
|
||||
|| defined(__APPLE__) \
|
||||
|| defined(__APPLE) \
|
||||
|| defined(APPLE)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user