Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c398579

Browse files
committed
Add a HAVE_TZSET define to clean up defines in backend/utils/adt/nabstime.c
1 parent 6cbaa93 commit c398579

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/include/config.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,46 @@
88

99
#define BLCKSZ 8192
1010

11+
#if defined(hpux)
12+
# define HAVE_TZSET
13+
#endif
14+
15+
#if defined(i386_solaris)
16+
# define HAVE_TZSET
17+
#endif
18+
19+
#if defined(sparc_solaris)
20+
# define HAVE_TZSET
21+
#endif
22+
23+
#if defined(svr4)
24+
# define HAVE_TZSET
25+
#endif
1126

1227
#if defined(win32)
1328
# define WIN32
1429
# define NO_UNISTD_H
1530
# define USES_WINSOCK
1631
# define NOFILE 100
1732
# define NEED_UNION_SEMUN
33+
# define HAVE_TZSET
1834
#endif /* WIN32 */
1935

2036
#if defined(__FreeBSD__) || \
2137
defined(__NetBSD__) || \
2238
defined(bsdi)
2339
# define USE_LIMITS_H
40+
# define USE_POSIX_TIME
2441
#endif
2542

2643
#if defined(aix)
2744
# define NEED_SYS_SELECT_H
45+
# define HAVE_TZSET
2846
#endif
2947

3048
#if defined(irix5)
3149
# define NO_VFORK
50+
# define HAVE_TZSET
3251
#endif
3352

3453
/*

0 commit comments

Comments
 (0)