summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-11-23 21:09:11 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-11-23 21:09:11 +0000
commit67ff104e7e42fe72ce0f20d6eeadb5ca5c45d119 (patch)
treee8555f7251c99210c7a44ebaa7eaf229a195da49
parent50f2625b22e05d838ddfa17f6861de78cb5e2779 (diff)
downloadllvm-67ff104e7e42fe72ce0f20d6eeadb5ca5c45d119.tar.gz
llvm-67ff104e7e42fe72ce0f20d6eeadb5ca5c45d119.tar.bz2
llvm-67ff104e7e42fe72ce0f20d6eeadb5ca5c45d119.tar.xz
system_error: Add fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120059 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/System/system_error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/System/system_error.h b/include/llvm/System/system_error.h
index 3bfc092ef3..09922c94da 100644
--- a/include/llvm/System/system_error.h
+++ b/include/llvm/System/system_error.h
@@ -805,6 +805,9 @@ inline bool operator!=(const error_condition& _x, const error_condition& _y) {
// This needs to stay here for KillTheDoctor.
#ifdef LLVM_ON_WIN32
+// FIXME: These two headers really really really need to be removed from here.
+// Not only is it a violation of System, they define the stupid min and
+// max macros :(.
#include <Windows.h>
#include <WinError.h>