]> pd.if.org Git - pdclib/commitdiff
Patch suggested by darkinsanity, http://forum.osdev.org/viewtopic.php?p=256346#p256346
authorMartin Baute <solar@rootdirectory.de>
Thu, 3 Mar 2016 09:28:35 +0000 (10:28 +0100)
committerMartin Baute <solar@rootdirectory.de>
Thu, 3 Mar 2016 09:28:35 +0000 (10:28 +0100)
internals/_PDCLIB_aux.h

index 0a31e86969f81b4f49cc649bdcc090462fcb95d3..484e930f24618c24fbee7dc563835e441ceeed35 100644 (file)
@@ -96,7 +96,7 @@
 #endif
 
 #ifdef __has_attribute
 #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
 #else
    #define _PDCLIB_HAS_ATTRIBUTE(x) (0)
 #endif