mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Addendum to netchild's C compiler abstraction mega-patch which somehow
have been forgotten in my previous commit. Submitted by: netchild
This commit is contained in:
parent
f16d1c7c6a
commit
85a4207bf1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143140
@ -30,7 +30,9 @@
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#if __GNUC__
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#if __CC_SUPPORTS_WARNING
|
||||
#warning "machine/limits.h is deprecated. Include sys/limits.h instead."
|
||||
#endif
|
||||
|
||||
|
@ -36,15 +36,6 @@
|
||||
#ifndef _SYS_KTR_H_
|
||||
#define _SYS_KTR_H_
|
||||
|
||||
/*
|
||||
* Hack around due to egcs-1.1.2 not knowing what __func__ is.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#if __GNUC__ == 2 && __GNUC_MINOR__ == 91 /* egcs 1.1.2 */
|
||||
#define __func__ __FUNCTION__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Trace classes
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user