tsan: port Go runtime to Darwin

llvm-svn: 160266
diff --git a/compiler-rt/lib/tsan/rtl/tsan_platform.h b/compiler-rt/lib/tsan/rtl/tsan_platform.h
index 3013798..b557fa1 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_platform.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_platform.h
@@ -12,9 +12,8 @@
 // Platform-specific code.
 //===----------------------------------------------------------------------===//
 
-#ifndef TSAN_LINUX_H
-#define TSAN_LINUX_H
-#ifdef __linux__
+#ifndef TSAN_PLATFORM_H
+#define TSAN_PLATFORM_H
 
 #include "tsan_rtl.h"
 
@@ -99,5 +98,4 @@
 # error "Only 64-bit is supported"
 #endif
 
-#endif  // __linux__
-#endif  // TSAN_LINUX_H
+#endif  // TSAN_PLATFORM_H