summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-03-11 08:02:36 +0000
committerguenther <guenther@openbsd.org>2014-03-11 08:02:36 +0000
commit6200b080bbbb1f86a8fae3be6f8adf4608aefedc (patch)
tree0a007892bf3d9036d87f04df9bde8cb38c294c52
parentremove #if(n)def __LP64__ from the mips64 codebase, as mips32 never really went anywhere. (diff)
downloadwireguard-openbsd-6200b080bbbb1f86a8fae3be6f8adf4608aefedc.tar.xz
wireguard-openbsd-6200b080bbbb1f86a8fae3be6f8adf4608aefedc.zip
Welcome to 1989: we can ask for signed chars when we want them
-rw-r--r--games/hack/config.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/hack/config.h b/games/hack/config.h
index 8658e884173..c4078d914d0 100644
--- a/games/hack/config.h
+++ b/games/hack/config.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: config.h,v 1.9 2011/03/16 18:11:37 deraadt Exp $*/
+/* * $OpenBSD: config.h,v 1.10 2014/03/11 08:02:36 guenther Exp $*/
/* * $NetBSD: config.h,v 1.3 1995/03/23 08:29:15 cgd Exp $*/
/*
@@ -151,11 +151,7 @@
* will do when you have signed characters; otherwise use
* typedef short int schar;
*/
-#ifdef __CHAR_UNSIGNED__
-typedef short int schar;
-#else
-typedef char schar;
-#endif
+typedef signed char schar;
/*
* small unsigned integers (8 bits suffice - but 7 bits do not)