aboutsummaryrefslogtreecommitdiff
path: root/include/safe-ctype.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-06-22 16:35:53 +0000
committerDJ Delorie <dj@redhat.com>2003-06-22 16:35:53 +0000
commit70ecf948d924b4fdc84ba07d2f0c0ee141295ef7 (patch)
treedf26823418a051e55f373a8c1c0361afc5a2d565 /include/safe-ctype.h
parent96ec9981bbd23e402401c4e9912014498938fb57 (diff)
downloadfsf-binutils-gdb-70ecf948d924b4fdc84ba07d2f0c0ee141295ef7.zip
fsf-binutils-gdb-70ecf948d924b4fdc84ba07d2f0c0ee141295ef7.tar.gz
fsf-binutils-gdb-70ecf948d924b4fdc84ba07d2f0c0ee141295ef7.tar.bz2
merge from gcc
Diffstat (limited to 'include/safe-ctype.h')
-rw-r--r--include/safe-ctype.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/safe-ctype.h b/include/safe-ctype.h
index c3e154c..69a3f74 100644
--- a/include/safe-ctype.h
+++ b/include/safe-ctype.h
@@ -40,19 +40,19 @@ Boston, MA 02111-1307, USA. */
#endif
/* Determine host character set. */
-#define HC_UNKNOWN 0
-#define HC_ASCII 1
-#define HC_EBCDIC 2
+#define HOST_CHARSET_UNKNOWN 0
+#define HOST_CHARSET_ASCII 1
+#define HOST_CHARSET_EBCDIC 2
#if '\n' == 0x0A && ' ' == 0x20 && '0' == 0x30 \
&& 'A' == 0x41 && 'a' == 0x61 && '!' == 0x21
-# define HOST_CHARSET HC_ASCII
+# define HOST_CHARSET HOST_CHARSET_ASCII
#else
# if '\n' == 0x15 && ' ' == 0x40 && '0' == 0xF0 \
&& 'A' == 0xC1 && 'a' == 0x81 && '!' == 0x5A
-# define HOST_CHARSET HC_EBCDIC
+# define HOST_CHARSET HOST_CHARSET_EBCDIC
# else
-# define HOST_CHARSET HC_UNKNOWN
+# define HOST_CHARSET HOST_CHARSET_UNKNOWN
# endif
#endif