projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe203a
)
[NDK] Fix INIT_SECTION for Clang (use the GCC definition)
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 17:04:03 +0000
(18:04 +0100)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000
(19:31 +0100)
sdk/include/ndk/section_attribs.h
patch
|
blob
|
history
diff --git
a/sdk/include/ndk/section_attribs.h
b/sdk/include/ndk/section_attribs.h
index
a35fae8
..
2d1007a
100644
(file)
--- a/
sdk/include/ndk/section_attribs.h
+++ b/
sdk/include/ndk/section_attribs.h
@@
-18,7
+18,7
@@
Author:
#pragma once
-#if
def __GNUC__
+#if
defined(__GNUC__) || defined(__clang__)
#define INIT_SECTION __attribute__((section ("INIT")))
#define INIT_FUNCTION __attribute__((section ("INIT")))