Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/globalDefinitions_visCPP.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 | 520830f632e7 |
comparison
equal
deleted
inserted
replaced
3959:eda6988c0d81 | 3960:f08d439fab8c |
---|---|
205 #define VALUE_OBJ_CLASS_SPEC : public _ValueObj | 205 #define VALUE_OBJ_CLASS_SPEC : public _ValueObj |
206 | 206 |
207 // Formatting. | 207 // Formatting. |
208 #define FORMAT64_MODIFIER "I64" | 208 #define FORMAT64_MODIFIER "I64" |
209 | 209 |
210 // Visual Studio doesn't provide inttypes.h so provide appropriate definitions here. | |
211 // The 32 bits ones might need I32 but seem to work ok without it. | |
212 #define PRId32 "d" | |
213 #define PRIu32 "u" | |
214 #define PRIx32 "x" | |
215 | |
216 #define PRId64 "I64d" | |
217 #define PRIu64 "I64u" | |
218 #define PRIx64 "I64x" | |
219 | |
220 #define PRIdPTR "d" | |
221 #define PRIuPTR "u" | |
222 #define PRIxPTR "x" | |
223 | |
210 #define offset_of(klass,field) offsetof(klass,field) | 224 #define offset_of(klass,field) offsetof(klass,field) |
211 | 225 |
212 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP | 226 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP |