forked from boostorg/config
Added AIX config fixes supplied by Markus Schoepflin.
[SVN r15504]
This commit is contained in:
@@ -7,9 +7,16 @@
|
|||||||
|
|
||||||
// Visual Age (IBM) C++ compiler setup:
|
// Visual Age (IBM) C++ compiler setup:
|
||||||
|
|
||||||
#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
#if __IBMCPP__ <= 501
|
||||||
#define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
#define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
|
||||||
|
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (__IBMCPP__ <= 502)|| !defined(BOOST_STRICT_CONFIG)
|
||||||
|
# define BOOST_NO_INTEGRAL_INT64_T
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
// On AIX thread support seems to be indicated by _THREAD_SAFE:
|
||||||
//
|
//
|
||||||
|
@@ -10,12 +10,15 @@
|
|||||||
#define BOOST_PLATFORM "IBM Aix"
|
#define BOOST_PLATFORM "IBM Aix"
|
||||||
|
|
||||||
#define BOOST_HAS_UNISTD_H
|
#define BOOST_HAS_UNISTD_H
|
||||||
#define BOOST_HAS_PTHREADS
|
|
||||||
#define BOOST_HAS_NL_TYPES_H
|
#define BOOST_HAS_NL_TYPES_H
|
||||||
|
#define BOOST_HAS_NANOSLEEP
|
||||||
|
#define BOOST_HAS_CLOCK_GETTIME
|
||||||
|
|
||||||
// Threading API's:
|
// Threading API's:
|
||||||
|
#define BOOST_HAS_PTHREADS
|
||||||
#define BOOST_HAS_PTHREAD_DELAY_NP
|
#define BOOST_HAS_PTHREAD_DELAY_NP
|
||||||
#define BOOST_HAS_PTHREAD_YIELD
|
#define BOOST_HAS_SCHED_YIELD
|
||||||
|
//#define BOOST_HAS_PTHREAD_YIELD
|
||||||
|
|
||||||
// boilerplate code:
|
// boilerplate code:
|
||||||
#include <boost/config/posix_features.hpp>
|
#include <boost/config/posix_features.hpp>
|
||||||
|
@@ -5,8 +5,11 @@
|
|||||||
|
|
||||||
// See http://www.boost.org for most recent version.
|
// See http://www.boost.org for most recent version.
|
||||||
|
|
||||||
|
#if __IBMCPP__ <= 501
|
||||||
|
# define BOOST_NO_STD_ALLOCATOR
|
||||||
|
#endif
|
||||||
|
|
||||||
#define BOOST_HAS_MACRO_USE_FACET
|
#define BOOST_HAS_MACRO_USE_FACET
|
||||||
#define BOOST_NO_STD_ALLOCATOR
|
|
||||||
|
|
||||||
#define BOOST_STDLIB "Visual Age default standard library"
|
#define BOOST_STDLIB "Visual Age default standard library"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user