summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2018-05-13 20:38:01 +0200
committerJonathan Schleifer <js@heap.zone>2018-05-13 20:38:01 +0200
commit615bc14924f104e38f1a8b1eab3c300f26f95196 (patch)
treeb4390afc7705f5d0b2c5ea7c970d88a860a6323d
parent177322354e1a42dc86d9e448fbcc5b38aa775f6f (diff)
platform.h: Add m68k
-rw-r--r--src/platform.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h
index 10df3e54..59ff80fb 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -73,6 +73,23 @@
# define OF_PA_RISC
#elif defined(__ia64__) || defined(__IA64__)
# define OF_ITANIUM
+#elif defined(__m68k__)
+# define OF_M68K
+# ifdef __mc68060__
+# define OF_M68060
+# endif
+# if defined(__mc68040__) || defined(OF_M68060)
+# define OF_M68040
+# endif
+# if defined(__mc68030__) || defined(OF_M68040)
+# define OF_M68030
+# endif
+# if defined(__mc68020__) || defined(OF_M68030)
+# define OF_M68020
+# endif
+# if defined(__mc68010__) || defined(OF_M68020)
+# define OF_M68010
+# endif
#endif
#if defined(__APPLE__)