summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-06-24 14:43:13 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-06-24 14:43:13 +0000
commit2eb487f1cd72a02056dad65a09e05b69145e06e8 (patch)
tree5e1207e8321a2357b1a43076c5a520baf997d5d2 /sys
parent7b30f9a4bd6677798105c35184ba72545c354046 (diff)
For now depend on the gccism __CHAR_UNSIGNED__ to define if we have (un)signed
chars. Fixes other defines if -fsigned-chars is specified. ok deraadt.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/internal_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/internal_types.h b/sys/arch/powerpc/include/internal_types.h
index 1079a9af700..d5b5111fe3b 100644
--- a/sys/arch/powerpc/include/internal_types.h
+++ b/sys/arch/powerpc/include/internal_types.h
@@ -1,8 +1,10 @@
-/* $OpenBSD: internal_types.h,v 1.1 2002/04/24 21:53:12 espie Exp $ */
+/* $OpenBSD: internal_types.h,v 1.2 2003/06/24 14:43:12 drahn Exp $ */
/* Public domain */
#ifndef _MACHINE_INTERNAL_TYPES_H_
#define _MACHINE_INTERNAL_TYPES_H_
+#ifdef __CHAR_UNSIGNED__
#define __machine_has_unsigned_chars
+#endif
#endif