aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-01-21 00:12:52 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-01-21 00:12:52 +0000
commita12b5bd9805406ffb64aac8e2ea8c6a0373f3ed3 (patch)
tree94e141c718f0404fba73d0ef5ad2dc48c562123d /gcc/cpphash.h
parentda8a6064ca1111465fee2835760ebff29c86a0d9 (diff)
downloadgcc-a12b5bd9805406ffb64aac8e2ea8c6a0373f3ed3.zip
gcc-a12b5bd9805406ffb64aac8e2ea8c6a0373f3ed3.tar.gz
gcc-a12b5bd9805406ffb64aac8e2ea8c6a0373f3ed3.tar.bz2
configure.in: Check for system-provided 'uchar' type.
* configure.in: Check for system-provided 'uchar' type. * configure, config.in: Regenerate. * cpphash.h: Only typedef 'uchar' if the system doesn't. From-SVN: r61516
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 75f6bc5..07880bd 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -29,7 +29,9 @@ struct directive; /* Deliberately incomplete. */
struct pending_option;
struct op;
+#ifndef HAVE_UCHAR
typedef unsigned char uchar;
+#endif
#define U (const uchar *) /* Intended use: U"string" */
#define BITS_PER_CPPCHAR_T (CHAR_BIT * sizeof (cppchar_t))