Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a4d68dc5
Commit
a4d68dc5
authored
Dec 12, 2012
by
Salvatore Sanfilippo
Browse files
Merge pull request #824 from ptjm/unstable
Define _XOPEN_SOURCE appropriately on NetBSD.
parents
705874e3
289942b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
deps/hiredis/fmacros.h
View file @
a4d68dc5
...
@@ -7,7 +7,7 @@
...
@@ -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
...
...
src/fmacros.h
View file @
a4d68dc5
...
@@ -36,7 +36,7 @@
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment