1 /* Various stuff needed to hack the build for SDCC. */
2 #define xmalloc(s) malloc(s)
3 #define xstrdup(s) strdup(s)
4 #define xrealloc(p,s) realloc(p,s)
5 #define xcalloc(n,e) calloc(n,e)
6 #define xmalloc_set_program_name(n) /* nada */
7 #define xstrerror(e) strerror(e)
9 extern char *lbasename(const char *path);
11 /* Define results of standard character escape sequences. */
12 #define TARGET_BELL 007
14 #define TARGET_TAB 011
15 #define TARGET_NEWLINE 012
20 #define CHAR_TYPE_SIZE 8
21 #define WCHAR_TYPE_SIZE 32 /* ? maybe ? */
23 #define SUPPORTS_ONE_ONLY 0
25 #define TARGET_OBJECT_SUFFIX ".rel"
28 #define HAVE_DOS_BASED_FILE_SYSTEM