Tim Rice wrote:

> 2020-09-30  Tim Rice  <t...@multitalents.net>
>         * lib/stdio-impl.h: Add support for UnixWare

I prefer to use the ifdefs that we found a couple of days ago.

What did you mean by "best not to use __base on these platforms",
when 4 lines below, the code does
  #  define _base __base


2020-10-11  Bruno Haible  <br...@clisp.org>

        stdioext: Treat OpenServer 6 and UnixWare 7 like OpenServer 5.
        Reported Tim Rice <t...@multitalents.net> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2020-10/msg00005.html>.
        Uses the info from
        <https://lists.gnu.org/archive/html/bug-gnulib/2020-10/msg00028.html>.
        * lib/stdio-impl.h: Test also __SCO_VERSION__ and __sysv5__.

diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h
index 067b95e..15066aa 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


Reply via email to