projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the hairy inline 'Y' bug in SDCC.y
[fw/sdcc]
/
src
/
SDCCset.h
diff --git
a/src/SDCCset.h
b/src/SDCCset.h
index f236b5708c9a110ec2e96c0fd4d54b717bf4370f..b5e2ccde84b64a5b2843f7d78296b138ef7dc546 100644
(file)
--- a/
src/SDCCset.h
+++ b/
src/SDCCset.h
@@
-25,26
+25,13
@@
#ifndef SDCCSET_H
#define SDCCSET_H
#include <stdarg.h>
#ifndef SDCCSET_H
#define SDCCSET_H
#include <stdarg.h>
-#ifdef _NO_GC
-
-#define GC_malloc malloc
-#define GC_free free
-#define GC_realloc realloc
+#if defined(_MSC_VER)
+# include "sdcc_vc.h"
#else
#else
+# include "sdccconf.h"
+#endif // _MSC_VER
-#include "./gc/gc.h"
-
-#endif
-
-#ifndef ALLOC
-#define ALLOC(x,sz) if (!(x = GC_malloc(sz))) \
- { \
- fprintf(stderr,"out of virtual memory %s , %d",__FILE__,__LINE__);\
- exit (1); \
- }
-
-#endif
#ifndef THROWS
#define THROWS
#ifndef THROWS
#define THROWS