projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6e819f
)
[CRT] Don't define _DECLSPEC_I on Clang builds
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 16:49:29 +0000
(17:49 +0100)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000
(19:31 +0100)
sdk/include/crt/_mingw.h
patch
|
blob
|
history
diff --git
a/sdk/include/crt/_mingw.h
b/sdk/include/crt/_mingw.h
index
203ac56
..
7aa8c21
100644
(file)
--- a/
sdk/include/crt/_mingw.h
+++ b/
sdk/include/crt/_mingw.h
@@
-207,7
+207,7
@@
allow GCC to optimize away some EH unwind code, at least in DW2 case. */
#define _CRT_UNUSED(x) (void)x
#endif
#define _CRT_UNUSED(x) (void)x
#endif
-#if
def _MSC_VER
+#if
defined(_MSC_VER) && !defined(__clang__)
#define ATTRIB_NORETURN
#define _DECLSPEC_INTRIN_TYPE __declspec(intrin_type)
#else
#define ATTRIB_NORETURN
#define _DECLSPEC_INTRIN_TYPE __declspec(intrin_type)
#else