OSDN Git Service

2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
authordannysmith <dannysmith>
Thu, 22 Mar 2007 09:43:48 +0000 (09:43 +0000)
committerdannysmith <dannysmith>
Thu, 22 Mar 2007 09:43:48 +0000 (09:43 +0000)
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__

winsup/mingw/ChangeLog
winsup/mingw/include/_mingw.h

index 5107ff7..2648864 100644 (file)
@@ -1,3 +1,7 @@
+2007-03-22   Brian Ripley  <ripleybd@users.sourceforge.net>
+
+       * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__.
+
 2003-03-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
 
        * Makefile.in: Tweak srcdist to fix build issue.
@@ -12,7 +16,7 @@
 
 2007-03-18  Danny Smith  <dannysmith@users.sourceforge.net>
 
-       * include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
+       * include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ for gcc 4.2.x too.
 
 2007-03-10  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
index 26f2527..b5b32ce 100644 (file)
 #ifdef __cplusplus
 # define __CRT_INLINE inline
 #else
-# if ( __MINGW_GNUC_PREREQ(4, 2)  && __STDC_VERSION__ >= 199901L)
+# if __GNUC_STDC_INLINE__
 #  define __CRT_INLINE extern inline __attribute__((__gnu_inline__))
 # else
 #  define __CRT_INLINE extern __inline__