From ae638065f7057625e3d847258b4257e73cf59aa4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 11 Oct 2020 16:20:30 +0200 Subject: [PATCH] stdioext: Treat OpenServer 6 and UnixWare 7 like OpenServer 5. Reported Tim Rice in . Uses the info from . * lib/stdio-impl.h: Test also __SCO_VERSION__ and __sysv5__. --- ChangeLog | 9 +++++++++ lib/stdio-impl.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 070929e37c..02e8993999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2020-10-11 Bruno Haible + + stdioext: Treat OpenServer 6 and UnixWare 7 like OpenServer 5. + Reported Tim Rice in + . + Uses the info from + . + * lib/stdio-impl.h: Test also __SCO_VERSION__ and __sysv5__. + 2020-10-11 Bruno Haible stdioext: Avoid compilation errors on UnixWare 7. diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 067b95ebd6..15066aa59f 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -175,7 +175,7 @@ # define fp_ fp # endif -# if defined _SCO_DS /* OpenServer */ +# if defined _SCO_DS || (defined __SCO_VERSION__ || defined __sysv5__) /* OpenServer 5, OpenServer 6, UnixWare 7 */ # define _cnt __cnt # define _ptr __ptr # define _base __base -- 2.39.5