[libc++][AIX] Remove "pragma priority" from locale.cpp
authorXing Xue <xingxue@minsky12.rtp.raleigh.ibm.com>
Tue, 15 Feb 2022 13:36:29 +0000 (08:36 -0500)
committerXing Xue <xingxue@minsky12.rtp.raleigh.ibm.com>
Tue, 15 Feb 2022 13:36:29 +0000 (08:36 -0500)
Summary:
The pragma priority guarded for AIX in locale.cpp is no longer useful and is ignored by the current AIX build compilers. This patch removes it from the source.

Reviewed by: ldionne, hubert.reinterpretcast, libc++

Differential Revision: https://reviews.llvm.org/D119765

libcxx/src/locale.cpp

index 3f8a261..a45dcbf 100644 (file)
@@ -126,11 +126,6 @@ _LIBCPP_NORETURN static void __throw_runtime_error(const string &msg)
 
 }
 
-#if defined(_AIX)
-// Set priority to INT_MIN + 256 + 150
-# pragma priority ( -2147483242 )
-#endif
-
 const locale::category locale::none;
 const locale::category locale::collate;
 const locale::category locale::ctype;