cvs commit: src/sys/sys cdefs.h
joerg at crater.dragonflybsd.org
Fri Feb 4 14:29:01 PST 2005
joerg 2005/02/04 14:28:23 PST
DragonFly src repository
Stop caring about GCC versions between 2.5 and 2.7, they are
Remove a double define of __func__ from the !LINT case.
Define __func__ to NULL for GCC before 2.7 and non ISO C99 compilers.
Since all GCC versions above 2.95 support __restrict, include them
in the check too. Remove the weak defines for !__STDC__, we don't
support such a setting.
If _C99_SOURCE is set, don't include POSIX / BSD / XSI extensions.
Partly-submitted-by: Andreas Hauser <andy at xxxxxxxxxxxxxxx>
Revision Changes Path
1.14 +17 -33 src/sys/sys/cdefs.h
More information about the Commits