stdioext: Treat OpenServer 6 and UnixWare 7 like OpenServer 5.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Oct 2020 14:20:30 +0000 (16:20 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Oct 2020 14:20:30 +0000 (16:20 +0200)
Reported Tim Rice <tim@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__.

ChangeLog
lib/stdio-impl.h

index 070929e37c1f6a67e62476e99e185a447d5c0341..02e89939994bef1f05e3188e9b14c68f81610d84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2020-10-11  Bruno Haible  <bruno@clisp.org>
+
+       stdioext: Treat OpenServer 6 and UnixWare 7 like OpenServer 5.
+       Reported Tim Rice <tim@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__.
+
 2020-10-11  Bruno Haible  <bruno@clisp.org>
 
        stdioext: Avoid compilation errors on UnixWare 7.
index 067b95ebd64a333ed955e8654f8501e231ec29d4..15066aa59f8ea1ae42fb28fd409aa599a8c60f49 100644 (file)
 #  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