Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions_sparcWorks.hpp @ 3960:f08d439fab8c
7089790: integrate bsd-port changes
Reviewed-by: kvn, twisti, jrose
Contributed-by: Kurt Miller <kurt@intricatesoftware.com>, Greg Lewis <glewis@eyesbeyond.com>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, Landon Fuller <landonf@plausible.coop>, The FreeBSD Foundation <board@freebsdfoundation.org>, Michael Franz <mvfranz@gmail.com>, Roger Hoover <rhoover@apple.com>, Alexander Strange <astrange@apple.com>
author | never |
---|---|
date | Sun, 25 Sep 2011 16:03:29 -0700 |
parents | 1d1603768966 |
children | b6a8cc1e0d92 |
comparison
equal
deleted
inserted
replaced
3959:eda6988c0d81 | 3960:f08d439fab8c |
---|---|
72 # include <setjmp.h> | 72 # include <setjmp.h> |
73 #endif | 73 #endif |
74 # ifdef SOLARIS_MUTATOR_LIBTHREAD | 74 # ifdef SOLARIS_MUTATOR_LIBTHREAD |
75 # include <sys/procfs.h> | 75 # include <sys/procfs.h> |
76 # endif | 76 # endif |
77 | |
78 #include <inttypes.h> | |
79 | |
80 // Solaris 8 doesn't provide definitions of these | |
81 #ifdef SOLARIS | |
82 #ifndef PRIdPTR | |
83 #if defined(_LP64) | |
84 #define PRIdPTR "ld" | |
85 #define PRIuPTR "lu" | |
86 #define PRIxPTR "lx" | |
87 #else | |
88 #define PRIdPTR "d" | |
89 #define PRIuPTR "u" | |
90 #define PRIxPTR "x" | |
91 #endif | |
92 #endif | |
93 #endif | |
94 | |
77 #ifdef LINUX | 95 #ifdef LINUX |
78 # include <inttypes.h> | |
79 # include <signal.h> | 96 # include <signal.h> |
80 # include <ucontext.h> | 97 # include <ucontext.h> |
81 # include <sys/time.h> | 98 # include <sys/time.h> |
82 #endif | 99 #endif |
83 | 100 |