Windows support by Ruben Van Boxem.
llvm-svn: 142235
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 073458b1ab5489dce6f2ec789889c377b690ccf4
diff --git a/include/tgmath.h b/include/tgmath.h
index 2388b6e..fbe1e82 100644
--- a/include/tgmath.h
+++ b/include/tgmath.h
@@ -22,6 +22,8 @@
#include <complex.h>
#include <math.h>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
#endif // _LIBCPP_TGMATH_H