https://git.reactos.org/?p=reactos.git;a=commitdiff;h=68abf035c646a54adf7f4…
commit 68abf035c646a54adf7f4e424fcccd1602d23938
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Feb 3 18:04:03 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Feb 12 19:31:33 2019 +0100
[NDK] Fix INIT_SECTION for Clang (use the GCC definition)
---
sdk/include/ndk/section_attribs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/ndk/section_attribs.h b/sdk/include/ndk/section_attribs.h
index a35fae81eb..2d1007aac6 100644
--- a/sdk/include/ndk/section_attribs.h
+++ b/sdk/include/ndk/section_attribs.h
@@ -18,7 +18,7 @@ Author:
#pragma once
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__clang__)
#define INIT_SECTION __attribute__((section ("INIT")))
#define INIT_FUNCTION __attribute__((section ("INIT")))