Remove all references to the GC library, replacing GC_malloc
[fw/sdcc] / support / cpp / config.h
1 #if defined(_MSC_VER)
2
3 #include <stdlib.h>
4 #include "i386/i386.h" 
5 #include "i386/xm-i386.h"
6 #define bcopy(s, d, n)  memcpy(d, s, n)
7 #define bcmp memcmp
8 #define bzero(p, l) memset(p, 0, l)
9 #define index strchr
10 #define rindex strrchr
11
12 #else
13
14 #include "i386/i386.h" 
15 #include "i386/xm-linux.h"  
16
17 #ifndef __BORLANDC__
18 #define alloca malloc
19 #else
20 #include <string.h>
21 #include <stdlib.h>
22 #define bcopy(s, d, n)  memcpy(d, s, n)
23 #define bcmp memcmp
24 #define bzero(p, l) memset(p, 0, l)
25 #define index strchr
26 #define rindex strrchr
27 #endif
28
29 #endif  // _MSC_VER