diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:25:17 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:25:17 +0300 |
commit | ad122d8fe3acb4cde689f2995f8505eef73f0a35 (patch) | |
tree | e9f930c934fc6b32f902aa76b4d2859b0b55f21d /helpers | |
parent | 588f4f5b2808c1b3cadff6c1c26c9b1d5c70b918 (diff) | |
parent | 2626d04d332dd87d4e6e9effe943dd6aa3d21cac (diff) | |
download | egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.gz egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.bz2 egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/ChangeLog | 8 | ||||
-rw-r--r-- | helpers/testdfa.c | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog index fb0cc109..ac00c1f5 100644 --- a/helpers/ChangeLog +++ b/helpers/ChangeLog @@ -1,3 +1,11 @@ +2015-08-28 Daniel Richard G. <skunk@iSKUNK.ORG> + + * testdfa.c: Define and use the USE_EBCDIC cpp symbol + instead of checking the value of 'a' whenever we want to know + if we're on an EBCDIC system. Also, don't assume that z/OS + necessarily means EBCDIC, as the compiler does have an ASCII + mode (-qascii). + 2015-05-27 Arnold D. Robbins <arnold@skeeve.com> * mb_cur_max.c, timeformat.c: New files. diff --git a/helpers/testdfa.c b/helpers/testdfa.c index 2b773467..4495e11a 100644 --- a/helpers/testdfa.c +++ b/helpers/testdfa.c @@ -659,7 +659,7 @@ char casetable[] = { C('\360'), C('\361'), C('\362'), C('\363'), C('\364'), C('\365'), C('\366'), C('\367'), C('\370'), C('\371'), C('\372'), C('\373'), C('\374'), C('\375'), C('\376'), C('\377'), }; -#elif 'a' == 0x81 /* it's EBCDIC */ +#elif defined(USE_EBCDIC) char casetable[] = { /*00 NU SH SX EX PF HT LC DL */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, |