DragonFly commits List (threaded) for 2005-02
cvs commit: src/sys/sys cdefs.h
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@xxxxxxxxxxxxxxx>
Revision Changes Path
1.14 +17 -33 src/sys/sys/cdefs.h