mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 06:36:50 +02:00
Add a HAVE_TZSET define to clean up defines in backend/utils/adt/nabstime.c
This commit is contained in:
parent
6cbaa93b82
commit
c39857925b
@ -8,6 +8,21 @@
|
|||||||
|
|
||||||
#define BLCKSZ 8192
|
#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)
|
#if defined(win32)
|
||||||
# define WIN32
|
# define WIN32
|
||||||
@ -15,20 +30,24 @@
|
|||||||
# define USES_WINSOCK
|
# define USES_WINSOCK
|
||||||
# define NOFILE 100
|
# define NOFILE 100
|
||||||
# define NEED_UNION_SEMUN
|
# define NEED_UNION_SEMUN
|
||||||
|
# define HAVE_TZSET
|
||||||
#endif /* WIN32 */
|
#endif /* WIN32 */
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || \
|
#if defined(__FreeBSD__) || \
|
||||||
defined(__NetBSD__) || \
|
defined(__NetBSD__) || \
|
||||||
defined(bsdi)
|
defined(bsdi)
|
||||||
# define USE_LIMITS_H
|
# define USE_LIMITS_H
|
||||||
|
# define USE_POSIX_TIME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(aix)
|
#if defined(aix)
|
||||||
# define NEED_SYS_SELECT_H
|
# define NEED_SYS_SELECT_H
|
||||||
|
# define HAVE_TZSET
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(irix5)
|
#if defined(irix5)
|
||||||
# define NO_VFORK
|
# define NO_VFORK
|
||||||
|
# define HAVE_TZSET
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user