Commit 0afb7a48 authored by antirez's avatar antirez
Browse files

Fix Solaris compilation due to ctime_r() call.

Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837.
parent 54157bc4
...@@ -46,6 +46,10 @@ ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment