aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-11-25 21:54:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-11-25 21:54:48 +0200
commit9a9ff61bbd952c1263b55f82a269da5b09289a6b (patch)
tree4bc31b31d0bec6d27f77e55f1a88f50534fa6ed4 /mbsupport.h
parentdbabe5a569ad82a9faeb2f121e387ec6399f9dcb (diff)
parent7af1da783175273a26609911c3a95975ed0f5c13 (diff)
downloadegawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.tar.gz
egawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.tar.bz2
egawk-9a9ff61bbd952c1263b55f82a269da5b09289a6b.zip
Merge branch 'master' into array-iface
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/mbsupport.h b/mbsupport.h
index db6788ce..9a62486f 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -71,7 +71,7 @@
/* All this glop is for dfa.c. Bleah. */
-#ifndef DJGPP
+#ifndef __DJGPP__
#define wchar_t char
#endif
@@ -81,12 +81,23 @@
#define WEOF EOF
#define towupper toupper
#define towlower tolower
-#ifndef DJGPP
+#ifndef __DJGPP__
#define btowc(x) ((int)x)
#endif
#define iswalnum isalnum
#define iswalpha isalpha
#define iswupper isupper
+#if defined(ZOS_USS)
+#undef towupper
+#undef towlower
+#undef btowc
+#undef iswalnum
+#undef iswalpha
+#undef iswupper
+#undef wctype
+#undef iswctype
+#undef wcscoll
+#endif
extern wctype_t wctype(const char *name);
extern int iswctype(wint_t wc, wctype_t desc);