*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.12 1997/01/10 20:19:33 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.13 1997/01/27 01:51:21 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
(void) ftime(&now);
*tzp = now.timezone;
#else /* USE_POSIX_TIME */
-#ifdef HAVE_TZSET
+#if defined(HAVE_TZSET) && defined(HAVE_INT_TIMEZONE)
tzset();
#ifndef win32
*tzp = timezone / 60; /* this is an X/Open-ism */
# define DISABLE_XOPEN_NLS
# define NEED_UNION_SEMUN
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# define HAVE_ANSI_CPP
# define HAS_TEST_AND_SET
typedef unsigned int slock_t;
# define JMP_BUF
# define USE_POSIX_TIME
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
# undef HAVE_CBRT
# undef HAVE_RINT
# define NEED_UNION_SEMUN
# undef HAVE_GETRUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# define NO_EMPTY_STMTS
# define NO_VFORK
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# include <abi_mutex.h>
# define JMP_BUF
# define USE_POSIX_TIME
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# undef HAVE_CBRT
# define NEED_I386_TAS_ASM
# define HAS_TEST_AND_SET
# define NO_EMPTY_STMTS
# define USE_POSIX_TIME
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
# define HAS_TEST_AND_SET
# undef HAVE_GETRUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# define NEED_UNION_SEMUN
# define SYSV_DIRENT
#endif
# define NOFILE 100
# define NEED_UNION_SEMUN
# define HAVE_TZSET
+# define HAVE_INT_TIMEZONE
+# undef HAVE_CBRT
# ifndef MAXPATHLEN
# define MAXPATHLEN 250
# endif