mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 13:54:38 +02:00
8137329: [windows] Build broken on VS2010 after "8046148: JEP 158: Unified JVM Logging"
Reviewed-by: simonis, ihse, prr, goetz, dcubed
This commit is contained in:
parent
75623819fd
commit
6c113577e6
1 changed files with 6 additions and 0 deletions
|
@ -171,6 +171,12 @@ const jlong max_jlong = CONST64(0x7fffffffffffffff);
|
|||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
// Visual Studio 2013 introduced strtoull(); before, one has to use _strtoui64() instead.
|
||||
#if _MSC_VER < 1800
|
||||
#define strtoull _strtoui64
|
||||
#endif
|
||||
|
||||
|
||||
#pragma warning( disable : 4100 ) // unreferenced formal parameter
|
||||
#pragma warning( disable : 4127 ) // conditional expression is constant
|
||||
#pragma warning( disable : 4514 ) // unreferenced inline function has been removed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue