aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/cwchar
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/cwchar')
-rw-r--r--system/include/libcxx/cwchar2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libcxx/cwchar b/system/include/libcxx/cwchar
index 90eae75e..9f51587c 100644
--- a/system/include/libcxx/cwchar
+++ b/system/include/libcxx/cwchar
@@ -106,7 +106,7 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len,
#include <__config>
#include <cwctype>
#include <wchar.h>
-#ifdef _LIBCPP_MSVCRT
+#if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
#include <support/win32/support.h> // pull in *swprintf defines
#endif // _LIBCPP_MSVCRT