aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2012-11-14 17:44:37 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2012-11-14 17:44:37 +0000
commit40455cf3afe484aa05ed984fae34faca2e52ee2f (patch)
tree7f3568991af4ff70ce00c61720daf49f59fc8134 /include
parent5cf7ec13f7927af85d005f32dadd90f7b74a3145 (diff)
downloadsrc-40455cf3afe484aa05ed984fae34faca2e52ee2f.tar.gz
src-40455cf3afe484aa05ed984fae34faca2e52ee2f.zip
Use defined() to test macro definitions.
Approved by: theraven
Notes
Notes: svn path=/head/; revision=243032
Diffstat (limited to 'include')
-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 7ffa7a1e0f69..b048c55bbb03 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