Per request from ache, change the numbering scheme of __FreeBSD_cc_version.

Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
This commit is contained in:
John Polstra 1998-10-29 22:11:08 +00:00
parent 4a3bc52a9c
commit 34ff484bfc
3 changed files with 4 additions and 4 deletions

View File

@ -477,7 +477,7 @@ do { \
#endif /* FREEBSD_NATIVE */ #endif /* FREEBSD_NATIVE */
#undef CPP_PREDEFINES #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 #undef CPP_SPEC
#if TARGET_CPU_DEFAULT == 2 #if TARGET_CPU_DEFAULT == 2

View File

@ -477,7 +477,7 @@ do { \
#endif /* FREEBSD_NATIVE */ #endif /* FREEBSD_NATIVE */
#undef CPP_PREDEFINES #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 #undef CPP_SPEC
#if TARGET_CPU_DEFAULT == 2 #if TARGET_CPU_DEFAULT == 2

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)cdefs.h 8.8 (Berkeley) 1/9/95 * @(#)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_ #ifndef _SYS_CDEFS_H_
@ -145,7 +145,7 @@
#endif #endif
/* Compiler-dependent macros that rely on FreeBSD-specific extensions. */ /* 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) \ #define __printf0like(fmtarg, firstvararg) \
__attribute__((__format__ (__printf0__, fmtarg, firstvararg))) __attribute__((__format__ (__printf0__, fmtarg, firstvararg)))
#else #else