From: Timo Kreuzer Date: Sun, 3 Feb 2019 17:04:03 +0000 (+0100) Subject: [NDK] Fix INIT_SECTION for Clang (use the GCC definition) X-Git-Tag: 0.4.13-dev~407 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=68abf035c646a54adf7f4e424fcccd1602d23938 [NDK] Fix INIT_SECTION for Clang (use the GCC definition) --- diff --git a/sdk/include/ndk/section_attribs.h b/sdk/include/ndk/section_attribs.h index a35fae81ebc..2d1007aac6a 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")))