8211360: Change #if DEF to #if defined(DEF)

Reviewed-by: bpb, vtewari
This commit is contained in:
Ivan Gerasimov 2019-08-21 13:49:16 -07:00
parent 5c3896ce21
commit 5c25e2a6fb
6 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -564,9 +564,9 @@ GetJavaProperties(JNIEnv* env)
}
sprintf(buf, "%d.%d", majorVersion, minorVersion);
sprops.os_version = _strdup(buf);
#if _M_AMD64
#if defined(_M_AMD64)
sprops.os_arch = "amd64";
#elif _X86_
#elif defined(_X86_)
sprops.os_arch = "x86";
#else
sprops.os_arch = "unknown";