GCC with patches for Dreamcast
修订版 | ffa8863de31d6d1e35ad77b128f9bfe3676859f5 (tree) |
---|---|
时间 | 1989-12-18 06:20:07 |
作者 | Charles Hannum <mycroft@gnu....> |
Commiter | Charles Hannum |
entered into RCS
From-SVN: r6
@@ -0,0 +1,21 @@ | ||
1 | +#define USG | |
2 | + | |
3 | +#ifndef unos | |
4 | +#define unos | |
5 | +#endif | |
6 | + | |
7 | +#include "xm-m68k.h" | |
8 | + | |
9 | +#define bcopy(a,b,c) memcpy (b,a,c) | |
10 | +#define bzero(a,b) memset (a,0,b) | |
11 | +#define bcmp(a,b,c) memcmp (a,b,c) | |
12 | + | |
13 | +/* Avoid conflict with C library by changing name of this symbol. */ | |
14 | +#define gettime gcc_gettime | |
15 | + | |
16 | +#ifndef __GNUC__ | |
17 | +#define USE_C_ALLOCA | |
18 | +#else | |
19 | +#define alloca __builtin_alloca | |
20 | +#endif | |
21 | + |