|
|
| version 1.3, 2004/02/02 23:35:10 | version 1.4, 2004/02/03 03:47:11 |
|---|---|
| Line 1 | Line 1 |
| /* $FreeBSD: src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v 1.23 2003/07/11 05:33:24 kan Exp $ */ | /* |
| /* $DragonFly$ | * $FreeBSD: src/gnu/usr.bin/cc/cc_tools/freebsd-native.h,v 1.23 2003/07/11 05:33:24 kan Exp $ |
| */ | * $DragonFly$ |
| */ | |
| /* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD | /* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD |
| source tree so it can be configured appropriately without using | source tree so it can be configured appropriately without using |
| Line 63 | Line 64 |
| /* FreeBSD is 4.4BSD derived */ | /* FreeBSD is 4.4BSD derived */ |
| #define bsd4_4 | #define bsd4_4 |
| /* Dike out [stupid, IMHO] libiberty functions. */ | /* |
| * Dike out [stupid, IMHO] libiberty functions. This is a real mess | |
| * because gcc's system.h define's malloc->xmalloc etc if certain defines | |
| * exist, and some of the lexer files also redefine malloc and realloc, | |
| * so don't even try to fix it if we're coming from a parser. | |
| */ | |
| #if !defined(FLEX_SCANNER) && !defined(YYBISON) && !defined(YYBYACC) | |
| #if 0 | |
| #define xmalloc_set_program_name(dummy) | #define xmalloc_set_program_name(dummy) |
| #define xmalloc malloc | #define xmalloc malloc |
| #define xcalloc calloc | #define xcalloc calloc |
| #define xrealloc realloc | #define xrealloc realloc |
| #endif | |
| #endif | |
| #define xstrdup strdup | #define xstrdup strdup |
| #define xstrerror strerror | #define xstrerror strerror |