ICU-3499 Fix for z/OS. Handle newlines a little better.

X-SVN-Rev: 15714
This commit is contained in:
George Rhoten 2004-06-04 17:43:53 +00:00
parent 115d10a107
commit 93d2c5e540

View File

@ -42,7 +42,9 @@ static const char copyright[] = U_COPYRIGHT_STRING;
#ifdef WIN32
static const UChar DELIMITERS [] = { DELIM_CR, DELIM_LF, 0x0000 };
static const uint32_t DELIMITERS_LEN = 2;
#elif (U_CHARSET_FAMILY == U_EBCDIC_FAMILY)
#elif (U_CHARSET_FAMILY == U_EBCDIC_FAMILY) && !defined(OS390)
/* This is the newline for EBCDIC machines except z/OS (os/390) OE */
/* TODO: Default newline writing should be detected based upon the converter being used. */
static const UChar DELIMITERS [] = { DELIM_NEL, 0x0000 };
static const uint32_t DELIMITERS_LEN = 1;
#else