[llvm] r226669 - Add missing include guards to WindowsSupport.h.
Yaron Keren
yaron.keren at gmail.com
Wed Jan 21 08:20:38 PST 2015
Author: yrnkrn
Date: Wed Jan 21 10:20:38 2015
New Revision: 226669
URL: http://llvm.org/viewvc/llvm-project?rev=226669&view=rev
Log:
Add missing include guards to WindowsSupport.h.
Modified:
llvm/trunk/lib/Support/Windows/WindowsSupport.h
Modified: llvm/trunk/lib/Support/Windows/WindowsSupport.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/WindowsSupport.h?rev=226669&r1=226668&r2=226669&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/WindowsSupport.h (original)
+++ llvm/trunk/lib/Support/Windows/WindowsSupport.h Wed Jan 21 10:20:38 2015
@@ -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
} // end namespace windows
} // end namespace sys
} // end namespace llvm.
+
+#endif
More information about the llvm-commits
mailing list