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
This commit is contained in:
Saleem Abdulrasool 2015-02-13 22:15:28 +00:00
parent 5fe405df36
commit 4ef8ac946c
1 changed files with 1 additions and 0 deletions

View File

@ -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)