From a22d2addb1287a7642bfcb211ae2cb21890d1cbd Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 18 Mar 2013 17:04:29 +0000 Subject: Removed raw references to _WIN32; now just check to see if it is defined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177291 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/__locale | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/__locale') diff --git a/include/__locale b/include/__locale index cfa3fda7a..1c093f69a 100644 --- a/include/__locale +++ b/include/__locale @@ -19,7 +19,7 @@ #include #include #include -#if _WIN32 +#ifdef _WIN32 # include #elif (__GLIBC__ || __APPLE__ || __FreeBSD__ || __sun__) # include @@ -327,7 +327,7 @@ public: static const mask punct = _ISpunct; static const mask xdigit = _ISxdigit; static const mask blank = _ISblank; -#elif _WIN32 +#elif defined(_WIN32) typedef unsigned short mask; static const mask space = _SPACE; static const mask print = _BLANK|_PUNCT|_ALPHA|_DIGIT; -- cgit v1.2.3