MacOS fixes for Carbon builds

[SVN r16662]
This commit is contained in:
John Maddock
2002-12-19 11:38:07 +00:00
parent ff6bee14c8
commit 3ada4c5873
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,9 @@
# define BOOST_HAS_UNISTD_H # define BOOST_HAS_UNISTD_H
# endif # endif
// boilerplate code: // boilerplate code:
# include <boost/config/posix_features.hpp> # ifndef TARGET_CARBON
# include <boost/config/posix_features.hpp>
# endif
# ifndef BOOST_HAS_STDINT_H # ifndef BOOST_HAS_STDINT_H
# define BOOST_HAS_STDINT_H # define BOOST_HAS_STDINT_H
# endif # endif
@ -60,3 +62,4 @@
# endif # endif
#endif #endif

View File

@ -31,7 +31,7 @@
// Strictly speaking this may catch platforms with a // Strictly speaking this may catch platforms with a
// non-functioning stub <pthreads.h>, but such occurrences should // non-functioning stub <pthreads.h>, but such occurrences should
// occur very rarely if at all. // occur very rarely if at all.
# if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) # if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS) && !defined(BOOST_HAS_MPTASKS)
# define BOOST_HAS_PTHREADS # define BOOST_HAS_PTHREADS
# endif # endif
@ -69,3 +69,4 @@
# endif # endif
# endif # endif