From 4b8b1f5997e7f16713be5c05e7fd40c122fa9381 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 26 Jul 2018 16:36:50 +0000 Subject: [PATCH] * src/c++98/locale_init.cc: Fix #ifdef condition. From-SVN: r263016 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/src/c++98/locale_init.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 666d49721ca..204b89b6c8c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2018-07-26 Marek Polacek + + * src/c++98/locale_init.cc: Fix #ifdef condition. + 2018-07-26 Jonathan Wakely * testsuite/18_support/aligned_alloc/aligned_alloc.cc: Add diff --git a/libstdc++-v3/src/c++98/locale_init.cc b/libstdc++-v3/src/c++98/locale_init.cc index 5651c04b9ed..c9078c015c3 100644 --- a/libstdc++-v3/src/c++98/locale_init.cc +++ b/libstdc++-v3/src/c++98/locale_init.cc @@ -534,7 +534,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _M_init_facet(new (&messages_w) std::messages(1)); #endif -#ifdef _GLIBCXX_NUM_UNICODE_FACETS != 0 +#if _GLIBCXX_NUM_UNICODE_FACETS != 0 _M_init_facet(new (&codecvt_c16) codecvt(1)); _M_init_facet(new (&codecvt_c32) codecvt(1)); #endif -- 2.30.2