comparison include/ansidecl.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
1 /* ANSI and traditional C compatability macros 1 /* ANSI and traditional C compatability macros
2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2 Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005, 2006, 2007, 2009 3 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
4 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
5 This file is part of the GNU C Library. 5 This file is part of the GNU C Library.
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
176 #undef signed 176 #undef signed
177 177
178 /* inline requires special treatment; it's in C99, and GCC >=2.7 supports 178 /* inline requires special treatment; it's in C99, and GCC >=2.7 supports
179 it too, but it's not in C89. */ 179 it too, but it's not in C89. */
180 #undef inline 180 #undef inline
181 #if __STDC_VERSION__ > 199901L || defined(__cplusplus) 181 #if __STDC_VERSION__ >= 199901L || defined(__cplusplus) || (defined(__SUNPRO_C) && defined(__C99FEATURES__))
182 /* it's a keyword */ 182 /* it's a keyword */
183 #else 183 #else
184 # if GCC_VERSION >= 2007 184 # if GCC_VERSION >= 2007
185 # define inline __inline__ /* __inline__ prevents -pedantic warnings */ 185 # define inline __inline__ /* __inline__ prevents -pedantic warnings */
186 # else 186 # else