try to deal with some famec compiler issues
[picodrive.git] / cpu / fame / famec.c
index 2f10540..9e9dc15 100644 (file)
 #define PICODRIVE_HACK\r
 // Options //\r
 \r
-\r
+#ifndef FAMEC_NO_GOTOS\r
+// computed gotos is a GNU extension\r
+#ifndef __GNUC__\r
+#define FAMEC_NO_GOTOS\r
+#endif\r
+// as of 3.3, clang takes over 3h to compile this in computed goto mode..\r
+#ifdef __clang__\r
+#define FAMEC_NO_GOTOS\r
+#endif\r
+#endif\r
\r
 #undef INLINE\r
 #ifdef _MSC_VER\r
 #define INLINE\r