* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / device / include / asm / z80 / features.h
index 7e90a8dec9c0e977bbe974128273c06966e6e979..dfaecfef911b1b160ae981fe9aee793d3f6161e8 100644 (file)
@@ -5,6 +5,8 @@
 
 #define _REENTRANT
 #define _CODE
+#define _AUTOMEM
+#define _STATMEM
 
 #define _SDCC_MANGLES_SUPPORT_FUNS     1
 #define _SDCC_Z80_STYLE_LIB_OPT                1
@@ -16,4 +18,6 @@
 /* Register allocator is as good as hand coded asm.  Cool. */
 #define _SDCC_PORT_PROVIDES_STRCPY     0
 
+#define _SDCC_MALLOC_TYPE_MLH          1
+
 #endif