From 2eb487f1cd72a02056dad65a09e05b69145e06e8 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 24 Jun 2003 14:43:13 +0000 Subject: 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. --- sys/arch/powerpc/include/internal_types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') 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 -- cgit v1.2.3