aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--mbsupport.h11
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 862153de..2e13d319 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ * mbsupport.h: Add a bunch of undefs for z/OS.
+
2012-10-04 Arnold D. Robbins <arnold@skeeve.com>
* TODO.xgawk: Update.
diff --git a/mbsupport.h b/mbsupport.h
index 1eb1a444..9a62486f 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -87,6 +87,17 @@
#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);