Make SH port work for packagers that don't differentiate between SH4 and SH4A
[fio.git] / arch / arch.h
index 8cafa11..16f4c3a 100644 (file)
@@ -58,4 +58,18 @@ enum {
 #include "../lib/ffz.h"
 #endif
 
+#ifndef ARCH_HAVE_INIT
+static inline int arch_init(char *envp[])
+{
+       return 0;
+}
+#endif
+
+enum {
+       ARCH_FLAG_1     = 1 << 0,
+       ARCH_FLAG_2     = 1 << 1,
+       ARCH_FLAG_3     = 1 << 2,
+       ARCH_FLAG_4     = 1 << 3,
+};
+
 #endif