gcc on AIX patches.

[SVN r27696]
This commit is contained in:
John Maddock
2005-03-16 12:33:29 +00:00
parent 963f781337
commit 28cad00cb4
2 changed files with 8 additions and 3 deletions

View File

@ -49,7 +49,7 @@
// MacOS // MacOS
# define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp" # define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp"
#elif defined(__IBMCPP__) #elif defined(__IBMCPP__) || defined(_AIX)
// IBM // IBM
# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp" # define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"

View File

@ -49,9 +49,14 @@
// The macros are not named appropriately. We don't care about integer // The macros are not named appropriately. We don't care about integer
// bit layout, but about floating-point NaN (etc.) bit patterns. // bit layout, but about floating-point NaN (etc.) bit patterns.
#if defined(__sparc) || defined(__sparc__) || defined(__powerpc__) || defined(__ppc__) || defined(__hppa) || defined(_MIPSEB) || defined(_POWER) || defined(__s390__) #if defined(__sparc) || defined(__sparc__) \
|| defined(_POWER) || defined(__powerpc__) \
|| defined(__ppc__) || defined(__hppa) \
|| defined(_MIPSEB) || defined(_POWER) \
|| defined(__s390__)
#define BOOST_BIG_ENDIAN #define BOOST_BIG_ENDIAN
#elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__) #elif defined(__i386__) || defined(__alpha__) \
|| defined(__ia64) || defined(__ia64__)
#define BOOST_LITTLE_ENDIAN #define BOOST_LITTLE_ENDIAN
#else #else
#error The file boost/detail/limits.hpp needs to be set up for your CPU type. #error The file boost/detail/limits.hpp needs to be set up for your CPU type.