svn commit: r243331 - stable/9/include/xlocale
Dmitry Sivachenko
demon at FreeBSD.org
Tue Nov 20 11:47:23 UTC 2012
Author: demon (ports committer)
Date: Tue Nov 20 11:47:22 2012
New Revision: 243331
URL: http://svnweb.freebsd.org/changeset/base/243331
Log:
MFC r243032:
Use defined() to test macro definitions.
Approved by: theraven
Modified:
stable/9/include/xlocale/_ctype.h
Modified: stable/9/include/xlocale/_ctype.h
==============================================================================
--- stable/9/include/xlocale/_ctype.h Tue Nov 20 10:59:41 2012 (r243330)
+++ stable/9/include/xlocale/_ctype.h Tue Nov 20 11:47:22 2012 (r243331)
@@ -53,7 +53,7 @@ _RuneLocale *__runes_for_locale(locale_t
#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
More information about the svn-src-stable-9
mailing list