[NDK] Fix INIT_SECTION for Clang (use the GCC definition)
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Feb 2019 17:04:03 +0000 (18:04 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 12 Feb 2019 18:31:33 +0000 (19:31 +0100)
sdk/include/ndk/section_attribs.h

index a35fae8..2d1007a 100644 (file)
@@ -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")))