No functional changes but it will help to reorganize this code into arch-specific sections. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- target.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/target.c b/target.c index 90097818f..17bdb2544 100644 --- a/target.c +++ b/target.c @@ -79,11 +79,15 @@ void init_target(void) } switch (arch_mach) { + case MACH_I386: case MACH_X86_64: +#if defined(__CYGWIN__) + wchar_ctype = &ushort_ctype; + break; +#endif if (arch_m64 == ARCH_LP64) break; /* fall through */ - case MACH_I386: case MACH_M68K: case MACH_SPARC32: case MACH_PPC32: @@ -172,9 +176,6 @@ void init_target(void) break; } -#if defined(__CYGWIN__) - wchar_ctype = &ushort_ctype; -#endif #if defined(__FreeBSD__) || defined(__APPLE__) wint_ctype = &int_ctype; #endif -- 2.24.0