Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 17:44:38 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243032 - head/include/xlocale
Message-ID:  <201211141744.qAEHicPI019355@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon (ports committer)
Date: Wed Nov 14 17:44:37 2012
New Revision: 243032
URL: http://svnweb.freebsd.org/changeset/base/243032

Log:
  Use defined() to test macro definitions.
  
  Approved by:	theraven

Modified:
  head/include/xlocale/_ctype.h

Modified: head/include/xlocale/_ctype.h
==============================================================================
--- head/include/xlocale/_ctype.h	Wed Nov 14 17:36:06 2012	(r243031)
+++ head/include/xlocale/_ctype.h	Wed Nov 14 17:44:37 2012	(r243032)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211141744.qAEHicPI019355>