zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: remove sinix special case in system.h
@ 2000-09-08  8:14 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 2000-09-08  8:14 UTC (permalink / raw)
  To: ZSH workers mailing list


It reverts this one (ChangeLog-Release):

Sat May 30 16:16:13 1998  Andrew Main  <zefram@zsh.org>

        * 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.

-andrej

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
+#endif
 #endif

 /* NeXT has half-implemented POSIX support *


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-08  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-08  8:14 PATCH: remove sinix special case in system.h Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).