* support/regression/fwk/testfwk.h:
[fw/sdcc] / support / regression / fwk / include / testfwk.h
index 81e82253cfee73e3260751713307b93b106c88c9..5e9c19a356057becd5f1dc1b630b4103738ef92d 100644 (file)
@@ -11,6 +11,13 @@ void __printf(const char *szFormat, ...);
 #define LOG(_a)     /* hollow log */
 #endif
 
+#ifdef SDCC
+ #include <sdcc-lib.h>
+#else
+ #define _AUTOMEM
+ #define _STATMEM
+#endif
+
 #if defined(PORT_HOST) || defined(SDCC_z80) || defined(SDCC_gbz80)
 # define data
 # define idata
@@ -20,6 +27,7 @@ void __printf(const char *szFormat, ...);
 # define near
 # define far
 # define at(x)
+# define reentrant
 #endif
 
 #if defined(SDCC_hc08)
@@ -30,6 +38,7 @@ void __printf(const char *szFormat, ...);
 #if defined(SDCC_pic16)
 # define idata data
 # define xdata data
+# define pdata data
 #endif
 
 void __fail(code const char *szMsg, code const char *szCond, code const char *szFile, int line);