mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
Use defined() to test macro definitions.
Approved by: theraven
This commit is contained in:
parent
5cf7ec13f7
commit
40455cf3af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243032
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue