264 #ifndef LINUX 265 int local_vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr); 266 #define vsnprintf local_vsnprintf 267 #endif 268 269 // Portability macros 270 #define PRAGMA_INTERFACE 271 #define PRAGMA_IMPLEMENTATION 272 #define PRAGMA_IMPLEMENTATION_(arg) 273 #define VALUE_OBJ_CLASS_SPEC : public _ValueObj 274 275 // Formatting. 276 #ifdef _LP64 277 #define FORMAT64_MODIFIER "l" 278 #else // !_LP64 279 #define FORMAT64_MODIFIER "ll" 280 #endif // _LP64 281 282 #define offset_of(klass,field) offsetof(klass,field) 283 284 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP | 264 #ifndef LINUX 265 int local_vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr); 266 #define vsnprintf local_vsnprintf 267 #endif 268 269 // Portability macros 270 #define PRAGMA_INTERFACE 271 #define PRAGMA_IMPLEMENTATION 272 #define PRAGMA_IMPLEMENTATION_(arg) 273 #define VALUE_OBJ_CLASS_SPEC : public _ValueObj 274 275 // Formatting. 276 #ifdef _LP64 277 #define FORMAT64_MODIFIER "l" 278 #else // !_LP64 279 #define FORMAT64_MODIFIER "ll" 280 #endif // _LP64 281 282 #define offset_of(klass,field) offsetof(klass,field) 283 284 // Inlining support 285 #define NOINLINE 286 #define ALWAYSINLINE inline __attribute__((always_inline)) 287 288 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_SPARCWORKS_HPP |