diff options
author | Russell Gallop <russell.gallop@sony.com> | 2020-09-21 16:15:52 +0100 |
---|---|---|
committer | Russell Gallop <russell.gallop@sony.com> | 2021-01-28 12:21:26 +0000 |
commit | e6bb8d80679ae3ce508fdef4cf233240e68931b0 (patch) | |
tree | deb34ce0a67c420fbe96c7abd8bb833a12179d5a | |
parent | 5d8be93b72d137edc707fdb187c4e6c89fd5096d (diff) | |
download | llvm-rgallop/opensource-main/scudo_standalone.tar.gz |
Fix compiler warning, WINAPI already defined somewhere.rgallop/opensource-main/scudo_standalone
-rw-r--r-- | compiler-rt/lib/scudo/standalone/win_defs.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler-rt/lib/scudo/standalone/win_defs.h b/compiler-rt/lib/scudo/standalone/win_defs.h index 63dd93c71648..10a2cf1972ba 100644 --- a/compiler-rt/lib/scudo/standalone/win_defs.h +++ b/compiler-rt/lib/scudo/standalone/win_defs.h @@ -15,13 +15,13 @@ #include "platform.h" #if SCUDO_WINDOWS -#ifndef WINAPI -#if defined(_M_IX86) || defined(__i386__) -#define WINAPI __stdcall -#else -#define WINAPI -#endif -#endif +//#ifndef WINAPI +//#if defined(_M_IX86) || defined(__i386__) +//#define WINAPI __stdcall +//#else +//#define WINAPI +//#endif +//#endif #if defined(_M_IX86) || defined(__i386__) #define WIN_SYM_PREFIX "_" |