-2006-11-25 Borut Razem <borut.razem AT siol.net>
+2006-11-26 Borut Razem <borut.razem AT siol.net>
* support/cpp2/libiberty.h: commented out x*alloc() declarations
since they are redefined by macros in support/cpp2/sdcc.h
+ * support/cpp2/sdcc.h: x*alloc macro redefinition
2006-11-25 Borut Razem <borut.razem AT siol.net>
/* Various stuff needed to hack the build for SDCC. */
-#define xmalloc(s) malloc(s)
-#define xstrdup(s) strdup(s)
-#define xrealloc(p,s) realloc(p,s)
-#define xcalloc(n,e) calloc(n,e)
+#define xmalloc malloc
+#define xstrdup strdup
+#define xrealloc realloc
+#define xcalloc calloc
+
+#define xstrerror strerror
#define xmalloc_set_program_name(n) /* nada */
-#define xstrerror(e) strerror(e)
+/*
+ * From defaults.h
+ */
/* Define results of standard character escape sequences. */
#define TARGET_BELL 007
#define TARGET_BS 010
#define TARGET_VT 013
#define TARGET_FF 014
#define TARGET_CR 015
-# define TARGET_ESC 033
+#define TARGET_ESC 033
#define CHAR_TYPE_SIZE 8
#define WCHAR_TYPE_SIZE 32 /* ? maybe ? */