diff options
Diffstat (limited to 'compiler-rt/lib/asan/asan_win.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_win.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_win.cc b/compiler-rt/lib/asan/asan_win.cc index 60e21ca4c68..86bcc2c26a0 100644 --- a/compiler-rt/lib/asan/asan_win.cc +++ b/compiler-rt/lib/asan/asan_win.cc @@ -214,7 +214,9 @@ void AsanTSDSet(void *tsd) { // ---------------------- Various stuff ---------------- {{{1 void *AsanDoesNotSupportStaticLinkage() { - // FIXME: shall we do anything here on Windows? +#if !defined(_DLL) || defined(_DEBUG) +#error Please build the runtime with /MD +#endif return NULL; } |

