aboutsummaryrefslogtreecommitdiff
path: root/src/parisc/sticore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parisc/sticore.h')
-rw-r--r--src/parisc/sticore.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parisc/sticore.h b/src/parisc/sticore.h
index fff7d15..d53ddff 100644
--- a/src/parisc/sticore.h
+++ b/src/parisc/sticore.h
@@ -2,7 +2,16 @@
#ifndef STICORE_H
#define STICORE_H
+#ifdef BUILD_STI_ROM
+#define u8 unsigned char
+#define u16 unsigned short
+#define u32 unsigned int
+#define s8 signed char
+#define s16 signed short
+#define s32 signed int
+#else
#include "types.h"
+#endif
/* generic STI structures & functions */