8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
authorshade
Thu, 17 Jan 2019 17:28:47 +0100
changeset 53375 ae4295a6a01e
parent 53374 7c0d1f696dbc
child 53376 4948dda8ea41
8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64 Reviewed-by: tschatzl, coleenp
test/hotspot/gtest/utilities/test_globalDefinitions.cpp
--- 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));