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
|
# undef BOOST_HAS_LONG_LONG
|
||||||
#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>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -40,7 +40,13 @@
|
|||||||
# define BOOST_NO_STRINGSTREAM
|
# define BOOST_NO_STRINGSTREAM
|
||||||
#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>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -16,7 +16,13 @@
|
|||||||
# endif
|
# endif
|
||||||
#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>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -12,7 +12,13 @@
|
|||||||
#define BOOST_HAS_MACRO_USE_FACET
|
#define BOOST_HAS_MACRO_USE_FACET
|
||||||
#define BOOST_NO_STD_MESSAGES
|
#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>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user