From 3246efd51352e116fd76ad76210a05d834acd812 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 22 Mar 2007 09:43:48 +0000 Subject: [PATCH] 2007-03-22 Brian Ripley * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__ --- winsup/mingw/ChangeLog | 6 +++++- winsup/mingw/include/_mingw.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 5107ff755..264886416 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2007-03-22 Brian Ripley + + * include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__. + 2003-03-20 Chris Sutcliffe * Makefile.in: Tweak srcdist to fix build issue. @@ -12,7 +16,7 @@ 2007-03-18 Danny Smith - * 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 diff --git a/winsup/mingw/include/_mingw.h b/winsup/mingw/include/_mingw.h index 26f25273f..b5b32ce80 100644 --- a/winsup/mingw/include/_mingw.h +++ b/winsup/mingw/include/_mingw.h @@ -116,7 +116,7 @@ #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__