summaryrefslogtreecommitdiffstats
path: root/include/xlocale/_ctype.h
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2012-11-14 17:44:37 +0000
committerdemon <demon@FreeBSD.org>2012-11-14 17:44:37 +0000
commit18400f04ea3bc1ecc13a019b4197f5ae44f7cb27 (patch)
tree7f3568991af4ff70ce00c61720daf49f59fc8134 /include/xlocale/_ctype.h
parent6d611aa2a28c6350e70c5f63dba8b4253e5f1ac0 (diff)
downloadFreeBSD-src-18400f04ea3bc1ecc13a019b4197f5ae44f7cb27.zip
FreeBSD-src-18400f04ea3bc1ecc13a019b4197f5ae44f7cb27.tar.gz
Use defined() to test macro definitions.
Approved by: theraven
Diffstat (limited to 'include/xlocale/_ctype.h')
-rw-r--r--include/xlocale/_ctype.h2
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
OpenPOWER on IntegriCloud