[PATCH 1/3] arch: keep cygwin specifics with i386/x86-64 specifics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/target.c b/target.c
index 647817a22..9ce21272d 100644
--- a/target.c
+++ b/target.c
@@ -89,6 +89,9 @@ void init_target(void)
 #endif
 #if defined(__FreeBSD__) || defined(__APPLE__)
 		wint_ctype = &int_ctype;
+#endif
+#if defined(__CYGWIN__)
+		wchar_ctype = &ushort_ctype;
 #endif
 		break;
 	case MACH_M68K:
@@ -196,8 +199,4 @@ void init_target(void)
 		pointer_alignment = 8;
 		break;
 	}
-
-#if defined(__CYGWIN__)
-	wchar_ctype = &ushort_ctype;
-#endif
 }
-- 
2.24.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux