Added pthread config options

[SVN r11413]
This commit is contained in:
John Maddock
2001-10-21 11:46:46 +00:00
parent 3f58e08292
commit 2b77c9bfb5

View File

@ -21,6 +21,14 @@
# define BOOST_HAS_STDINT_H # define BOOST_HAS_STDINT_H
# endif # endif
//
// BSD runtime has pthreads, sched_yield and gettimeofday,
// of these only pthreads are advertised in <unistd.h>, so set the
// other options explicitly:
//
# define BOOST_HAS_SCHED_YIELD
# define BOOST_HAS_GETTIMEOFDAY
# ifndef __APPLE_CC__ # ifndef __APPLE_CC__
// GCC strange "ignore std" mode works better if you pretend everything // GCC strange "ignore std" mode works better if you pretend everything
@ -30,3 +38,4 @@
# endif # endif
#endif #endif