changeset 53375:ae4295a6a01e

8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64 Reviewed-by: tschatzl, coleenp
author shade
date Thu, 17 Jan 2019 17:28:47 +0100
parents 7c0d1f696dbc
children 4948dda8ea41
files test/hotspot/gtest/utilities/test_globalDefinitions.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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));