From a9663a0a7b9fca46ac2f6ff04a1abc640703a648 Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Thu, 17 Jan 2019 17:28:47 +0100 Subject: [PATCH] 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64 Reviewed-by: tschatzl, coleenp --- test/hotspot/gtest/utilities/test_globalDefinitions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hotspot/gtest/utilities/test_globalDefinitions.cpp b/test/hotspot/gtest/utilities/test_globalDefinitions.cpp index f77f0b45830..60359e45300 100644 --- a/test/hotspot/gtest/utilities/test_globalDefinitions.cpp +++ b/test/hotspot/gtest/utilities/test_globalDefinitions.cpp @@ -103,7 +103,7 @@ TEST(globalDefinitions, exact_unit_for_byte_size) { 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 @@ TEST(globalDefinitions, byte_size_in_exact_unit) { 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));