Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/include Fix the naked char __INT8_TYPE__ and un...



details:   https://anonhg.NetBSD.org/src/rev/505211d13982
branches:  trunk
changeset: 326489:505211d13982
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jan 31 11:37:13 2014 +0000

description:
Fix the naked char __INT8_TYPE__ and unsigned char case.

diffstat:

 sys/arch/arm/include/int_types.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 121811daea38 -r 505211d13982 sys/arch/arm/include/int_types.h
--- a/sys/arch/arm/include/int_types.h  Fri Jan 31 11:19:37 2014 +0000
+++ b/sys/arch/arm/include/int_types.h  Fri Jan 31 11:37:13 2014 +0000
@@ -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



Home | Main Index | Thread Index | Old Index