[PATCH] D121857: [scudo] Don't assume preprocessor macro is defined

Dominic Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 12:54:22 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG26a5f9bd0302: [scudo] Don't assume preprocessor macro is defined (authored by ddcc).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121857/new/

https://reviews.llvm.org/D121857

Files:
  compiler-rt/lib/scudo/standalone/platform.h


Index: compiler-rt/lib/scudo/standalone/platform.h
===================================================================
--- compiler-rt/lib/scudo/standalone/platform.h
+++ compiler-rt/lib/scudo/standalone/platform.h
@@ -37,7 +37,7 @@
 #define SCUDO_TRUSTY 0
 #endif
 
-#if __LP64__
+#if defined(__LP64__)
 #define SCUDO_WORDSIZE 64U
 #else
 #define SCUDO_WORDSIZE 32U


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121857.416579.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/bf9b9374/attachment.bin>


More information about the llvm-commits mailing list