test/hotspot/gtest/utilities/test_globalDefinitions.cpp
changeset 53375 ae4295a6a01e
parent 47216 71c04702a3d5
child 53386 d5f6540c6bb1
--- a/test/hotspot/gtest/utilities/test_globalDefinitions.cpp	Thu Jan 17 15:24:20 2019 +0000
+++ b/test/hotspot/gtest/utilities/test_globalDefinitions.cpp	Thu Jan 17 17:28:47 2019 +0100
@@ -103,7 +103,7 @@
   EXPECT_STREQ("M", exact_unit_for_byte_size(M));
   EXPECT_STREQ("B", exact_unit_for_byte_size(M + 1));
   EXPECT_STREQ("K", exact_unit_for_byte_size(M + K));
-#ifdef LP64
+#ifdef _LP64
   EXPECT_STREQ("B", exact_unit_for_byte_size(G - 1));
   EXPECT_STREQ("G", exact_unit_for_byte_size(G));
   EXPECT_STREQ("B", exact_unit_for_byte_size(G + 1));
@@ -123,7 +123,7 @@
   EXPECT_EQ(1u, byte_size_in_exact_unit(M));
   EXPECT_EQ(M + 1, byte_size_in_exact_unit(M + 1));
   EXPECT_EQ(K + 1, byte_size_in_exact_unit(M + K));
-#ifdef LP64
+#ifdef _LP64
   EXPECT_EQ(G - 1, byte_size_in_exact_unit(G - 1));
   EXPECT_EQ(1u, byte_size_in_exact_unit(G));
   EXPECT_EQ(G + 1, byte_size_in_exact_unit(G + 1));