diff options
-rw-r--r-- | fmacros.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,8 +1,9 @@ #ifndef __HIREDIS_FMACRO_H #define __HIREDIS_FMACRO_H -#if !defined(_BSD_SOURCE) +#if defined(__linux__) #define _BSD_SOURCE +#define _DEFAULT_SOURCE #endif #if defined(__sun__) |