[ASan] Add back the support for /MT; intercept statically-linked functions

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@152557 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/asan/asan_win.cc b/lib/asan/asan_win.cc
index 51f32e9..53d6777 100644
--- a/lib/asan/asan_win.cc
+++ b/lib/asan/asan_win.cc
@@ -224,8 +224,8 @@
 
 // ---------------------- Various stuff ---------------- {{{1
 void *AsanDoesNotSupportStaticLinkage() {
-#if !defined(_DLL) || defined(_DEBUG)
-#error Please build the runtime with /MD
+#if defined(_DEBUG)
+#error Please build the runtime with a non-debug CRT: /MD or /MT
 #endif
   return NULL;
 }