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:
Ed Schouten 2013-05-30 06:20:23 +00:00
parent e4afa19c33
commit 54f12c0f5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251123
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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