Use #ifdef instead of #if defined.
This makes these tests a bit more consistent with the tests done at the bottom of the file.
This commit is contained in:
parent
e4afa19c33
commit
54f12c0f5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251123
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user