[compiler-rt] 0390a3b - Add SCUDO_WINDOWS
Russell Gallop via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 28 04:23:02 PST 2021
Author: Russell Gallop
Date: 2021-01-21T16:54:30Z
New Revision: 0390a3b94c71b339a1d15fa1095e18975b5fbb82
URL: https://github.com/llvm/llvm-project/commit/0390a3b94c71b339a1d15fa1095e18975b5fbb82
DIFF: https://github.com/llvm/llvm-project/commit/0390a3b94c71b339a1d15fa1095e18975b5fbb82.diff
LOG: Add SCUDO_WINDOWS
Added:
Modified:
compiler-rt/lib/scudo/standalone/platform.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/platform.h b/compiler-rt/lib/scudo/standalone/platform.h
index a4c2a0b26603..682d94d38041 100644
--- a/compiler-rt/lib/scudo/standalone/platform.h
+++ b/compiler-rt/lib/scudo/standalone/platform.h
@@ -31,6 +31,12 @@
#define SCUDO_FUCHSIA 0
#endif
+#if defined(__WIN32__)
+#define SCUDO_WINDOWS 1
+#else
+#define SCUDO_WINDOWS 0
+#endif
+
#if __LP64__
#define SCUDO_WORDSIZE 64U
#else
More information about the llvm-commits
mailing list