summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/m68k/xm-crds.h
blob: 3bd3461ce10bdb9e6907aa88b886a24a0a445c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#define USG

#ifndef unos
#define unos
#endif

#include "m68k/xm-m68k.h"

#define bcopy(a,b,c) memcpy (b,a,c)
#define bzero(a,b) memset (a,0,b)
#define bcmp(a,b,c) memcmp (a,b,c)

/* UNOS has vprintf() */ 
#define HAVE_VPRINTF

/* Avoid conflict with C library by changing name of this symbol.  */
#define gettime gcc_gettime

#ifndef __GNUC__
#define USE_C_ALLOCA
#endif

/* Override part of the obstack macros.  */

#define __PTR_TO_INT(P) ((int)(P))
#define __INT_TO_PTR(P) ((char *)(P))