Skip to content

Commit

Permalink
machine.h: Fix MACH_NATIVE on m68k
Browse files Browse the repository at this point in the history
This fixes a failure to compile on m68k as MACH_68K is undefined.

Fixes: ce50c88 ("add detection of native platform")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
  • Loading branch information
ukleinek authored and lucvoo committed Jan 31, 2019
1 parent f601a2e commit dd98d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd98d9f

Please sign in to comment.