src/share/vm/libadt/port.hpp

Print this page
rev 5032 : 8023033: PPC64 (part 13): basic changes for AIX
Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).

*** 89,100 **** // IBM's xlC compiler #define INTERFACE #define IMPLEMENTATION #include <stdlib.h> #include <memory.h> - inline int min( int a, int b) { return a < b ? a : b; } - inline int max( int a, int b) { return a > b ? a : b; } #elif defined(_MSC_VER) // Microsoft Visual C++ //#define INTERFACE #define IMPLEMENTATION --- 89,98 ----
*** 190,201 **** --- 188,202 ---- // Do not define these for Tandem, because they conflict with typedefs in softieee.h. typedef float float32; // 32-bit float typedef double float64; // 64-bit float #endif // __TANDEM + #ifndef _AIX + // These conflict with /usr/include/sys/inttypes.h on aix. typedef jlong int64; // Java long for my 64-bit type typedef julong uint64; // Java long for my 64-bit type + #endif //----------------------------------------------------------------------------- // Nice constants uint32 gcd( uint32 x, uint32 y ); int ff1( uint32 mask );