summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-02-13 22:15:28 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-02-13 22:15:28 +0000
commit4ef8ac946c577bafddcb211a3dbab6b3dcf66e08 (patch)
treecabe97e63820edd1324bc6b7713aa1b4b0961996
parent5fe405df36c30aedf2acd0a713bc851c0189d97a (diff)
downloadbcm5719-llvm-4ef8ac946c577bafddcb211a3dbab6b3dcf66e08.tar.gz
bcm5719-llvm-4ef8ac946c577bafddcb211a3dbab6b3dcf66e08.zip
cctype: tweak inclusions for _LIBCPP_MSVCRT case
cctype uses ctype functions such as isblank. However, when building against msvcrt, this is provided by the support header. Include the support header if building for Windows to ensure that the definition is properly visible. llvm-svn: 229161
-rw-r--r--libcxx/include/cctype1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/cctype b/libcxx/include/cctype
index b647903c45c..26c740f7382 100644
--- a/libcxx/include/cctype
+++ b/libcxx/include/cctype
@@ -39,6 +39,7 @@ int toupper(int c);
#include <ctype.h>
#if defined(_LIBCPP_MSVCRT)
#include "support/win32/support.h"
+#include "support/win32/locale_win32.h"
#endif // _LIBCPP_MSVCRT
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
OpenPOWER on IntegriCloud