< prev index next >

src/share/native/sun/awt/medialib/mlib_types.h

Print this page
rev 8219 : 8024900: PPC64: Enable new build on AIX (jdk part)
8024854: PPC64: Basic changes and files to build the class library on AIX
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art, erikj
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, thomas.stuefe@sap.com

*** 55,72 **** typedef int mlib_s32; typedef unsigned int mlib_u32; typedef float mlib_f32; typedef double mlib_d64; ! #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__GNUC__) #if defined(MACOSX) #include <stddef.h> /* for ptrdiff_t */ #include <stdint.h> /* for uintptr_t */ #elif defined(__linux__) #include <stdint.h> /* for uintptr_t */ #include <malloc.h> /* for ptrdiff_t */ #else #include <link.h> /* for uintptr_t */ #include <stddef.h> /* for ptrdiff_t */ #endif /* __linux__ */ --- 55,75 ---- typedef int mlib_s32; typedef unsigned int mlib_u32; typedef float mlib_f32; typedef double mlib_d64; ! #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) || defined(__GNUC__) || defined(AIX) #if defined(MACOSX) #include <stddef.h> /* for ptrdiff_t */ #include <stdint.h> /* for uintptr_t */ #elif defined(__linux__) #include <stdint.h> /* for uintptr_t */ #include <malloc.h> /* for ptrdiff_t */ + #elif defined(AIX) + #include <stdint.h> /* for uintptr_t */ + #include <stddef.h> /* for ptrdiff_t */ #else #include <link.h> /* for uintptr_t */ #include <stddef.h> /* for ptrdiff_t */ #endif /* __linux__ */
*** 79,89 **** #define MLIB_S64_MAX LONG_MAX #define MLIB_S64_CONST(x) x##L #define MLIB_U64_CONST(x) x##UL ! #elif (__STDC__ - 0 == 0) || defined(__GNUC__) #if defined(_NO_LONGLONG) typedef union { mlib_d64 d64; --- 82,92 ---- #define MLIB_S64_MAX LONG_MAX #define MLIB_S64_CONST(x) x##L #define MLIB_U64_CONST(x) x##UL ! #elif (__STDC__ - 0 == 0) || defined(__GNUC__) || defined(AIX) #if defined(_NO_LONGLONG) typedef union { mlib_d64 d64;
< prev index next >