diff mbox series

machine.h: Fix MACH_NATIVE on m68k

Message ID 20190131083941.10272-1-uwe@kleine-koenig.org (mailing list archive)
State Mainlined, archived
Headers show
Series machine.h: Fix MACH_NATIVE on m68k | expand

Commit Message

Uwe Kleine-König Jan. 31, 2019, 8:39 a.m. UTC
This fixes a failure to compile on m68k as MACH_68K is undefined.

Fixes: ce50c885b8b0 ("add detection of native platform")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
---
 machine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luc Van Oostenryck Jan. 31, 2019, 1 p.m. UTC | #1
On Thu, Jan 31, 2019 at 09:39:41AM +0100, Uwe Kleine-König wrote:
> This fixes a failure to compile on m68k as MACH_68K is undefined.

Thanks. Will be pushed this evening.

-- Luc
diff mbox series

Patch

diff --git a/machine.h b/machine.h
index 09c1f513c2ad..b46383ac1d8c 100644
--- a/machine.h
+++ b/machine.h
@@ -67,7 +67,7 @@  enum machine {
 #elif defined(__sparc__) || defined(__sparc)
 #define	MACH_NATIVE	MACH_SPARC32
 #elif defined(__m68k__)
-#define MACH_NATIVE	MACH_68K
+#define MACH_NATIVE	MACH_M68K
 #elif defined(__s390x__) || defined(__zarch__)
 #define MACH_NATIVE	MACH_S390X
 #else