summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-04-23 14:28:50 +0000
committerespie <espie@openbsd.org>2005-04-23 14:28:50 +0000
commitf5c5d82461eb6585c43e3fbcf6a55ca131d18cdb (patch)
tree4358fb68fb11431d017bcf68eef49a419322833f
parent-c option may take either integer or name, not just integer; (diff)
downloadwireguard-openbsd-f5c5d82461eb6585c43e3fbcf6a55ca131d18cdb.tar.xz
wireguard-openbsd-f5c5d82461eb6585c43e3fbcf6a55ca131d18cdb.zip
fix WCHAR_TYPE*
okay drahn@, tested alek@
-rw-r--r--gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
index 17bd1cde2e6..e5901fd1359 100644
--- a/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
+++ b/gnu/usr.bin/gcc/gcc/config/rs6000/openbsd.h
@@ -93,3 +93,11 @@ Boston, MA 02111-1307, USA. */
/* Some code gets optimized incorrectly by move_movables() in loop.c */
#define BROKEN_MOVE_MOVABLES_P
+
+/* some stuff that must agree with ansi.h */
+#undef WCHAR_TYPE
+#define WCHAR_TYPE "int"
+
+#undef WCHAR_TYPE_SIZE
+#define WCHAR_TYPE_SIZE 32
+