src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp	Tue Sep 13 12:21:20 2011
--- new/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp	Tue Sep 13 12:21:19 2011

*** 72,83 **** --- 72,100 ---- # include <setjmp.h> #endif # ifdef SOLARIS_MUTATOR_LIBTHREAD # include <sys/procfs.h> # endif + + #include <inttypes.h> + + // Solaris 8 doesn't provide definitions of these + #ifdef SOLARIS + #ifndef PRIdPTR + #if defined(_LP64) + #define PRIdPTR "ld" + #define PRIuPTR "lu" + #define PRIxPTR "lx" + #else + #define PRIdPTR "d" + #define PRIuPTR "u" + #define PRIxPTR "x" + #endif + #endif + #endif + #ifdef LINUX # include <inttypes.h> # include <signal.h> # include <ucontext.h> # include <sys/time.h> #endif

src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File