summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-01-21 16:20:38 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-01-21 16:20:38 +0000
commit3f02c14cc742180a27f5c99a998e3c5d1ac2f6c8 (patch)
tree83eddce8e13320351d3fe85514802a797662f092 /llvm/lib/Support
parent11bb53bc771e0171cb6ff1e21265f3047c1f1196 (diff)
downloadbcm5719-llvm-3f02c14cc742180a27f5c99a998e3c5d1ac2f6c8.tar.gz
bcm5719-llvm-3f02c14cc742180a27f5c99a998e3c5d1ac2f6c8.zip
Add missing include guards to WindowsSupport.h.
llvm-svn: 226669
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Windows/WindowsSupport.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/WindowsSupport.h b/llvm/lib/Support/Windows/WindowsSupport.h
index 1d1cedcce29..62e20f267aa 100644
--- a/llvm/lib/Support/Windows/WindowsSupport.h
+++ b/llvm/lib/Support/Windows/WindowsSupport.h
@@ -19,6 +19,9 @@
//=== is guaranteed to work on *all* Win32 variants.
//===----------------------------------------------------------------------===//
+#ifndef LLVM_SUPPORT_WINDOWSSUPPORT_H
+#define LLVM_SUPPORT_WINDOWSSUPPORT_H
+
// mingw-w64 tends to define it as 0x0502 in its headers.
#undef _WIN32_WINNT
#undef _WIN32_IE
@@ -178,3 +181,5 @@ std::error_code UTF16ToCurCP(const wchar_t *utf16, size_t utf16_len,
} // end namespace windows
} // end namespace sys
} // end namespace llvm.
+
+#endif
OpenPOWER on IntegriCloud