Macros are baaad.
authorChris Lattner <sabre@nondot.org>
Sat, 5 Jun 2004 00:54:11 +0000 (00:54 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 Jun 2004 00:54:11 +0000 (00:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14039 91177308-0d34-0410-b5e6-96231b3b80d8

include/Config/windows.h
include/llvm/Config/windows.h

index 2ba858104da75f96541a01ca80ddce44e8fb4dc0..fded99fba8e227cfeecf189c084c877522788cd4 100644 (file)
@@ -18,6 +18,8 @@
 
 #ifdef HAVE_WINDOWS_H
 #include <windows.h>
+#undef min
+#undef max
 #endif
 
 #endif
index 2ba858104da75f96541a01ca80ddce44e8fb4dc0..fded99fba8e227cfeecf189c084c877522788cd4 100644 (file)
@@ -18,6 +18,8 @@
 
 #ifdef HAVE_WINDOWS_H
 #include <windows.h>
+#undef min
+#undef max
 #endif
 
 #endif