Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: remove sinix special case in system.h

It reverts this one (ChangeLog-Release):

Sat May 30 16:16:13 1998  Andrew Main  <zefram@xxxxxxx>

        * Src/system.h: #define _XPG_IV on SINIX (Reliant UNIX).  It is
          reported that this is necessary in order to get the right
          version of gettimeofday().

Setting _XPG_IV here is not quite correct. It modifies some system headers and
is expected to be set by compiler if called with appropriate flag, in which
case also different startup files are linked. I.e. it possibly gives you
headers that correspond neither to configure run nor to run-time support.

Also, currently suported versions (to which I have access) do not need it
anymore. For this reason I am too lazy to add check for gettimeofday()
prototype, given that it works everywhere else. But if anybody insists ...

I leave it in place for a while as reminder.


Have a nice DOS!
B >>

Index: Src/system.h
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.7
diff -u -r1.7 system.h
--- Src/system.h        2000/08/14 16:46:19     1.7
+++ Src/system.h        2000/09/08 08:05:54
@@ -27,8 +27,14 @@

+#if 0
+ * Setting _XPG_IV here is actually wrong and is not needed
+ * with currently supported versions (5.43C20 and above)
+ */
 #ifdef sinix
 # define _XPG_IV 1

 /* NeXT has half-implemented POSIX support *

Messages sorted by: Reverse Date, Date, Thread, Author