diff options
| -rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 2 | ||||
| -rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 2 | ||||
| -rw-r--r-- | sys/sys/cdefs.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 3391f3739df3..e610b5fb8769 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -477,7 +477,7 @@ do { \ #endif /* FREEBSD_NATIVE */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=3 -D__FreeBSD_cc_version=272101 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" +#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=3 -D__FreeBSD_cc_version=300001 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" #undef CPP_SPEC #if TARGET_CPU_DEFAULT == 2 diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index 3391f3739df3..e610b5fb8769 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -477,7 +477,7 @@ do { \ #endif /* FREEBSD_NATIVE */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=3 -D__FreeBSD_cc_version=272101 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" +#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=3 -D__FreeBSD_cc_version=300001 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)" #undef CPP_SPEC #if TARGET_CPU_DEFAULT == 2 diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index d73dfa606ba2..587e7d72ecac 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 - * $Id: cdefs.h,v 1.22 1998/09/20 03:24:55 jdp Exp $ + * $Id: cdefs.h,v 1.23 1998/10/29 04:41:24 jdp Exp $ */ #ifndef _SYS_CDEFS_H_ @@ -145,7 +145,7 @@ #endif /* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ -#if 272101 <= __FreeBSD_cc_version && __FreeBSD_cc_version < 1000000 +#if __FreeBSD_cc_version >= 300001 #define __printf0like(fmtarg, firstvararg) \ __attribute__((__format__ (__printf0__, fmtarg, firstvararg))) #else |
