src/share/vm/utilities/globalDefinitions_visCPP.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_full Cdiff src/share/vm/utilities/globalDefinitions_visCPP.hpp

src/share/vm/utilities/globalDefinitions_visCPP.hpp

Print this page
rev 2697 : imported patch formatfixes

*** 205,212 **** --- 205,226 ---- #define VALUE_OBJ_CLASS_SPEC : public _ValueObj // Formatting. #define FORMAT64_MODIFIER "I64" + // Visual Studio doesn't provide inttypes.h so provide appropriate definitions here. + // The 32 bits ones might need I32 but seem to work ok without it. + #define PRId32 "d" + #define PRIu32 "u" + #define PRIx32 "x" + + #define PRId64 "I64d" + #define PRIu64 "I64u" + #define PRIx64 "I64x" + + #define PRIdPTR "d" + #define PRIuPTR "u" + #define PRIxPTR "x" + #define offset_of(klass,field) offsetof(klass,field) #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
src/share/vm/utilities/globalDefinitions_visCPP.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File