8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows
Reviewed-by: stuefe
This commit is contained in:
parent
3709344166
commit
0ee196bef1
@ -102,7 +102,7 @@ inline int g_isfinite(jfloat f) { return _finite(f); }
|
|||||||
inline int g_isfinite(jdouble f) { return _finite(f); }
|
inline int g_isfinite(jdouble f) { return _finite(f); }
|
||||||
|
|
||||||
// Formatting.
|
// Formatting.
|
||||||
#define FORMAT64_MODIFIER "I64"
|
#define FORMAT64_MODIFIER "ll"
|
||||||
|
|
||||||
#define offset_of(klass,field) offsetof(klass,field)
|
#define offset_of(klass,field) offsetof(klass,field)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#define MAXPATHLEN MAX_PATH
|
#define MAXPATHLEN MAX_PATH
|
||||||
#define MAXNAMELEN MAX_PATH
|
#define MAXNAMELEN MAX_PATH
|
||||||
|
|
||||||
#define JLONG_FORMAT_SPECIFIER "%I64d"
|
#define JLONG_FORMAT_SPECIFIER "%lld"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function prototypes.
|
* Function prototypes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user