Add missing include guards to WindowsSupport.h.
authorYaron Keren <yaron.keren@gmail.com>
Wed, 21 Jan 2015 16:20:38 +0000 (16:20 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Wed, 21 Jan 2015 16:20:38 +0000 (16:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226669 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/WindowsSupport.h

index 1d1cedcce29932f1bff6c67f793358aeb39e77a6..62e20f267aa1eb6cc399ba8d8de2cc9d88027896 100644 (file)
@@ -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