forked from boostorg/config
Added pthread config options
[SVN r11413]
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user