aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-17 23:55:27 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-17 23:55:27 +0000
commitc39857925b7a1aa57b005bcfb158f6a54af5af5d (patch)
tree45b605e2be7f3927c4689642757d1e6d32e22774 /src
parent6cbaa93b8274c3902d20f5b04f76ceaf26e290af (diff)
downloadpostgresql-c39857925b7a1aa57b005bcfb158f6a54af5af5d.tar.gz
postgresql-c39857925b7a1aa57b005bcfb158f6a54af5af5d.zip
Add a HAVE_TZSET define to clean up defines in backend/utils/adt/nabstime.c
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/config.h b/src/include/config.h
index ffae7d33739..0ddfe7feab3 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -8,6 +8,21 @@
#define BLCKSZ 8192
+#if defined(hpux)
+# define HAVE_TZSET
+#endif
+
+#if defined(i386_solaris)
+# define HAVE_TZSET
+#endif
+
+#if defined(sparc_solaris)
+# define HAVE_TZSET
+#endif
+
+#if defined(svr4)
+# define HAVE_TZSET
+#endif
#if defined(win32)
# define WIN32
@@ -15,20 +30,24 @@
# define USES_WINSOCK
# define NOFILE 100
# define NEED_UNION_SEMUN
+# define HAVE_TZSET
#endif /* WIN32 */
#if defined(__FreeBSD__) || \
defined(__NetBSD__) || \
defined(bsdi)
# define USE_LIMITS_H
+# define USE_POSIX_TIME
#endif
#if defined(aix)
# define NEED_SYS_SELECT_H
+# define HAVE_TZSET
#endif
#if defined(irix5)
# define NO_VFORK
+# define HAVE_TZSET
#endif
/*