Fix misguided #elif - it checked the value of _AIX instead of defined(_AIX). Thanks to Johan Bergström for the bug report.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@203589 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b1ead689be
commit
be3d117702
@ -21,7 +21,7 @@
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
|
#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
|
||||||
# include <support/win32/locale_win32.h>
|
# include <support/win32/locale_win32.h>
|
||||||
#elif _AIX
|
#elif defined(_AIX)
|
||||||
# include <support/ibm/xlocale.h>
|
# include <support/ibm/xlocale.h>
|
||||||
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)
|
#elif (defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun__)) || defined(__EMSCRIPTEN__) || defined(__IBMCPP__)
|
||||||
# include <xlocale.h>
|
# include <xlocale.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user