summaryrefslogtreecommitdiff
path: root/lib/tsan/go
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:54:17 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-03-19 14:54:17 +0000
commit30e110edf92303237d471f1cb8e3ad07954fb145 (patch)
tree5b00e68121865858348bba5f034e49cf39a253ad /lib/tsan/go
parent24e13723f8477d8c42ab8b2a7f4f69fc089842f1 (diff)
downloadcompiler-rt-30e110edf92303237d471f1cb8e3ad07954fb145.tar.gz
compiler-rt-30e110edf92303237d471f1cb8e3ad07954fb145.tar.bz2
compiler-rt-30e110edf92303237d471f1cb8e3ad07954fb145.tar.xz
[sanitizer] More renamed macros.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/go')
-rw-r--r--lib/tsan/go/tsan_go.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsan/go/tsan_go.cc b/lib/tsan/go/tsan_go.cc
index b2aa6220..5651fdf6 100644
--- a/lib/tsan/go/tsan_go.cc
+++ b/lib/tsan/go/tsan_go.cc
@@ -184,7 +184,7 @@ void __tsan_finalizer_goroutine(ThreadState *thr) {
AcquireGlobal(thr, 0);
}
-#ifdef _WIN32
+#if SANITIZER_WINDOWS
// MinGW gcc emits calls to the function.
void ___chkstk_ms(void) {
// The implementation must be along the lines of: