[PATCH 3/4] arch: fix wchar_t & wint_t for openbsd

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

 



These are only for native build and I don't know
if anyone is using sparse on openbsd, but for completeness
and ease of testing let's get them right for sparse too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 target.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/target.c b/target.c
index e3ea4caf8..76cbb954a 100644
--- a/target.c
+++ b/target.c
@@ -95,6 +95,10 @@ void init_target(void)
 		case OS_FREEBSD:
 			wint_ctype = &int_ctype;
 			break;
+		case OS_OPENBSD:
+			wchar_ctype = &int_ctype;
+			wint_ctype = &int_ctype;
+			break;
 		}
 		break;
 	case MACH_M68K:
-- 
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