From: Martin Baute Date: Thu, 3 Mar 2016 09:28:35 +0000 (+0100) Subject: Patch suggested by darkinsanity, http://forum.osdev.org/viewtopic.php?p=256346#p256346 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=5af6a81428deb4542b01eed33f450057c7fa89c2 Patch suggested by darkinsanity, http://forum.osdev.org/viewtopic.php?p=256346#p256346 --- diff --git a/internals/_PDCLIB_aux.h b/internals/_PDCLIB_aux.h index 0a31e86..484e930 100644 --- a/internals/_PDCLIB_aux.h +++ b/internals/_PDCLIB_aux.h @@ -96,7 +96,7 @@ #endif #ifdef __has_attribute - #define _PDCLIB_HAS_ATTRIBUTE(x) __has_builtin(x) + #define _PDCLIB_HAS_ATTRIBUTE(x) __has_attribute(x) #else #define _PDCLIB_HAS_ATTRIBUTE(x) (0) #endif