diff options
-rw-r--r-- | lib/libcompiler_rt/__sync_fetch_and_op_n.h | 2 | ||||
-rw-r--r-- | lib/libcompiler_rt/__sync_val_compare_and_swap_n.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/__sync_fetch_and_op_n.h b/lib/libcompiler_rt/__sync_fetch_and_op_n.h index 994e271..524c1cf 100644 --- a/lib/libcompiler_rt/__sync_fetch_and_op_n.h +++ b/lib/libcompiler_rt/__sync_fetch_and_op_n.h @@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <machine/atomic.h> -#if defined __clang__ +#ifdef __clang__ static TYPE atomic_func(volatile TYPE *ptr, TYPE value, ...) #else diff --git a/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h b/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h index ee9d025..b6017c9 100644 --- a/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h +++ b/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h @@ -30,7 +30,7 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <machine/atomic.h> -#if defined __clang__ +#ifdef __clang__ static TYPE atomic_func(volatile TYPE *ptr, TYPE oldval, TYPE newval, ...) #else |