Add __clang__ to a few #ifdefs

This commit is contained in:
Jonathan Schleifer
2015-11-07 23:02:53 +01:00
parent 64df3e0483
commit 456150599a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ extern void* get_stack_frame(void);
/* Use the built-in atomic functions, if requested and available. */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) || defined(__clang__)
static __inline__ void
+2 -1
View File
@@ -6,7 +6,8 @@
#include <SupportDefs.h>
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)) \
&& !defined(__clang__)
void