diff options
author | demon <demon@FreeBSD.org> | 2012-11-14 17:44:37 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2012-11-14 17:44:37 +0000 |
commit | 18400f04ea3bc1ecc13a019b4197f5ae44f7cb27 (patch) | |
tree | 7f3568991af4ff70ce00c61720daf49f59fc8134 /include | |
parent | 6d611aa2a28c6350e70c5f63dba8b4253e5f1ac0 (diff) | |
download | FreeBSD-src-18400f04ea3bc1ecc13a019b4197f5ae44f7cb27.zip FreeBSD-src-18400f04ea3bc1ecc13a019b4197f5ae44f7cb27.tar.gz |
Use defined() to test macro definitions.
Approved by: theraven
Diffstat (limited to 'include')
-rw-r--r-- | include/xlocale/_ctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xlocale/_ctype.h b/include/xlocale/_ctype.h index 7ffa7a1..b048c55 100644 --- a/include/xlocale/_ctype.h +++ b/include/xlocale/_ctype.h @@ -53,7 +53,7 @@ _RuneLocale *__runes_for_locale(locale_t, int*); #endif #ifndef _XLOCALE_INLINE -#if __GNUC__ && !__GNUC_STDC_INLINE__ +#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) /* GNU89 inline has nonstandard semantics. */ #define _XLOCALE_INLINE extern __inline #else |