1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-03 00:01:04 +00:00

Merge pull request from ptjm/unstable

Define _XOPEN_SOURCE appropriately on NetBSD.
This commit is contained in:
Salvatore Sanfilippo 2012-12-12 09:34:41 -08:00
commit a4d68dc541
2 changed files with 2 additions and 2 deletions
deps/hiredis
src

@ -7,7 +7,7 @@
#if defined(__sun__) #if defined(__sun__)
#define _POSIX_C_SOURCE 200112L #define _POSIX_C_SOURCE 200112L
#elif defined(__linux__) #elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
#else #else
#define _XOPEN_SOURCE #define _XOPEN_SOURCE

@ -36,7 +36,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#endif #endif
#if defined(__linux__) || defined(__OpenBSD__) #if defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#else #else
#define _XOPEN_SOURCE #define _XOPEN_SOURCE