Ticket #21500: patch-openjdk-hotspot-src-share-vm-utilities-globalDefinitions.hpp.diff
File patch-openjdk-hotspot-src-share-vm-utilities-globalDefinitions.hpp.diff, 960 bytes (added by mvfranz@…, 15 years ago) |
---|
-
openjdk/hotspot/src/share/vm/utilities/globalDefinitions.hpp
old new 1105 1105 // Format 32-bit quantities. 1106 1106 #define INT32_FORMAT "%d" 1107 1107 #define UINT32_FORMAT "%u" 1108 #define LONG_FORMAT "%ld" 1109 #define ULONG_FORMAT "%lu" 1108 1110 #define INT32_FORMAT_W(width) "%" #width "d" 1109 1111 #define UINT32_FORMAT_W(width) "%" #width "u" 1110 1112 … … 1146 1148 #define SIZE_FORMAT UINT64_FORMAT 1147 1149 #define SSIZE_FORMAT INT64_FORMAT 1148 1150 #else // !_LP64 1151 #ifdef __APPLE__ 1152 #define PTR_FORMAT LONG_FORMAT 1153 #define UINTX_FORMAT ULONG_FORMAT 1154 #define INTX_FORMAT LONG_FORMAT 1155 #define SIZE_FORMAT LONG_FORMAT 1156 #else 1149 1157 #define PTR_FORMAT PTR32_FORMAT 1150 1158 #define UINTX_FORMAT UINT32_FORMAT 1151 1159 #define INTX_FORMAT INT32_FORMAT 1152 1160 #define SIZE_FORMAT UINT32_FORMAT 1161 #endif 1153 1162 #define SSIZE_FORMAT INT32_FORMAT 1154 1163 #endif // _LP64 1155 1164