DragonFly commits List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/sys cdefs.h
joerg 2005/02/04 14:28:23 PST
DragonFly src repository
Modified files:
sys/sys cdefs.h
Log:
Stop caring about GCC versions between 2.5 and 2.7, they are
historic artefacts.
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
http://www.dragonflybsd.org/cvsweb/src/sys/sys/cdefs.h.diff?r1=1.13&r2=1.14&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]