Added AIX config fixes supplied by Markus Schoepflin.

[SVN r15504]
This commit is contained in:
John Maddock
2002-09-25 11:05:41 +00:00
parent 88ee7241f1
commit ba82286f2e
3 changed files with 19 additions and 6 deletions

View File

@@ -7,9 +7,16 @@
// Visual Age (IBM) C++ compiler setup:
#if __IBMCPP__ <= 501
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
# 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:
//

View File

@@ -10,12 +10,15 @@
#define BOOST_PLATFORM "IBM Aix"
#define BOOST_HAS_UNISTD_H
#define BOOST_HAS_PTHREADS
#define BOOST_HAS_NL_TYPES_H
#define BOOST_HAS_NANOSLEEP
#define BOOST_HAS_CLOCK_GETTIME
// Threading API's:
#define BOOST_HAS_PTHREADS
#define BOOST_HAS_PTHREAD_DELAY_NP
#define BOOST_HAS_PTHREAD_YIELD
#define BOOST_HAS_SCHED_YIELD
//#define BOOST_HAS_PTHREAD_YIELD
// boilerplate code:
#include <boost/config/posix_features.hpp>

View File

@@ -5,8 +5,11 @@
// See http://www.boost.org for most recent version.
#define BOOST_HAS_MACRO_USE_FACET
#if __IBMCPP__ <= 501
# define BOOST_NO_STD_ALLOCATOR
#endif
#define BOOST_HAS_MACRO_USE_FACET
#define BOOST_STDLIB "Visual Age default standard library"