From 762b3a4c2246ac817da7bac7ccb78889f117ca93 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 4 May 2012 14:18:12 +0300 Subject: DJGPP --> __DJGPP__ --- mbsupport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbsupport.h') diff --git a/mbsupport.h b/mbsupport.h index db6788ce..1eb1a444 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,7 +81,7 @@ #define WEOF EOF #define towupper toupper #define towlower tolower -#ifndef DJGPP +#ifndef __DJGPP__ #define btowc(x) ((int)x) #endif #define iswalnum isalnum -- cgit v1.2.3 From 5caf2424094016b9a26c5d9d74b25cab39671478 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 5 Oct 2012 12:51:14 +0200 Subject: Update mbsupport.h for newer z/OS. --- mbsupport.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'mbsupport.h') 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); -- cgit v1.2.3