Fix Solaris compilation due to ctime_r() call.
Introduced in Redis 2.8.10 because of a change in Sentinel. This closes issue #1837.
This commit is contained in:
parent
54157bc49e
commit
0afb7a48c0
@ -46,6 +46,10 @@
|
|||||||
#define _XOPEN_SOURCE
|
#define _XOPEN_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__sun)
|
||||||
|
#define _POSIX_C_SOURCE 199506L
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _LARGEFILE_SOURCE
|
#define _LARGEFILE_SOURCE
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user