aboutsummaryrefslogtreecommitdiff
path: root/timezone/private.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-17 20:49:23 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-17 20:49:23 +0000
commit38c097cae8e1da0a0b90ac81102795b2198646ca (patch)
tree8900d884c166a595f1c99779962e8674d711c6f0 /timezone/private.h
parentd198009a6e17e728fcfe414e19a2157e0dcf9b93 (diff)
downloadglibc-38c097cae8e1da0a0b90ac81102795b2198646ca.tar
glibc-38c097cae8e1da0a0b90ac81102795b2198646ca.tar.gz
glibc-38c097cae8e1da0a0b90ac81102795b2198646ca.tar.bz2
glibc-38c097cae8e1da0a0b90ac81102795b2198646ca.zip
Update.
* timezone/private.h: Update from tzcode1999e. * timezone/zic.c: Likewise. * timezone/africa: Update from tzdata1999e. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise.
Diffstat (limited to 'timezone/private.h')
-rw-r--r--timezone/private.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/timezone/private.h b/timezone/private.h
index f2c0558a16..75b3cb1831 100644
--- a/timezone/private.h
+++ b/timezone/private.h
@@ -21,7 +21,7 @@
#ifndef lint
#ifndef NOID
-static char privatehid[] = "@(#)private.h 7.48";
+static char privatehid[] = "@(#)private.h 7.49";
#endif /* !defined NOID */
#endif /* !defined lint */
@@ -50,6 +50,10 @@ static char privatehid[] = "@(#)private.h 7.48";
#define HAVE_SYMLINK 1
#endif /* !defined HAVE_SYMLINK */
+#ifndef HAVE_SYS_WAIT_H
+#define HAVE_SYS_WAIT_H 1
+#endif /* !defined HAVE_SYS_WAIT_H */
+
#ifndef HAVE_UNISTD_H
#define HAVE_UNISTD_H 1
#endif /* !defined HAVE_UNISTD_H */
@@ -78,6 +82,17 @@ static char privatehid[] = "@(#)private.h 7.48";
#include "libintl.h"
#endif /* HAVE_GETTEXT - 0 */
+#if HAVE_SYS_WAIT_H - 0
+#include <sys/wait.h> /* for WIFEXITED and WEXITSTATUS */
+#endif /* HAVE_SYS_WAIT_H - 0 */
+
+#ifndef WIFEXITED
+#define WIFEXITED(status) (((status) & 0xff) == 0)
+#endif /* !defined WIFEXITED */
+#ifndef WEXITSTATUS
+#define WEXITSTATUS(status) (((status) >> 8) & 0xff)
+#endif /* !defined WEXITSTATUS */
+
#if HAVE_UNISTD_H - 0
#include "unistd.h" /* for F_OK and R_OK */
#endif /* HAVE_UNISTD_H - 0 */