Module Name: src
Committed By: matt
Date: Fri Jan 31 11:37:13 UTC 2014
Modified Files:
src/sys/arch/arm/include: int_types.h
Log Message:
Fix the naked char __INT8_TYPE__ and unsigned char case.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/include/int_types.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/include/int_types.h
diff -u src/sys/arch/arm/include/int_types.h:1.12 src/sys/arch/arm/include/int_types.h:1.13
--- src/sys/arch/arm/include/int_types.h:1.12 Wed Jan 29 23:47:35 2014
+++ src/sys/arch/arm/include/int_types.h Fri Jan 31 11:37:13 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: int_types.h,v 1.12 2014/01/29 23:47:35 matt Exp $ */
+/* $NetBSD: int_types.h,v 1.13 2014/01/31 11:37:13 matt Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -42,6 +42,9 @@
#ifndef __UINT8_TYPE__
# define __UINT8_TYPE__ unsigned char
+# ifdef __CHAR_UNSIGNED__
+# undef __INT8_TYPE__
+# endif
#endif
#ifndef __INT8_TYPE__
# define __INT8_TYPE__ signed char