summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-27 02:45:11 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-28 01:12:12 +0100
commitc989ef7d0ad90f52bb35c48ce3c2e716b09ca2a4 (patch)
tree16dc7675f50e71a02417f8ade16916c1220bbf1a
parent9bcecc01f17ce131c2f5187930bd1da153898368 (diff)
downloadsparse-c989ef7d0ad90f52bb35c48ce3c2e716b09ca2a4.tar.gz
arch: fix wchar_t & wint_t for openbsd
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@gmail.com>
-rw-r--r--target.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target.c b/target.c
index e3ea4caf..76cbb954 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: