From 40455cf3afe484aa05ed984fae34faca2e52ee2f Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Wed, 14 Nov 2012 17:44:37 +0000 Subject: Use defined() to test macro definitions. Approved by: theraven --- include/xlocale/_ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/xlocale/_ctype.h b/include/xlocale/_ctype.h index 7ffa7a1e0f693..b048c55bbb036 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 -- cgit v1.3