src/share/vm/utilities/globalDefinitions_visCPP.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/globalDefinitions_visCPP.hpp	Wed Sep 21 11:40:38 2011
--- new/src/share/vm/utilities/globalDefinitions_visCPP.hpp	Wed Sep 21 11:40:38 2011

*** 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