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
8e0a9f60
Commit
8e0a9f60
authored
Dec 12, 2012
by
Patrick TJ McPhee
Committed by
antirez
Dec 12, 2012
Browse files
Define _XOPEN_SOURCE appropriately on NetBSD.
parent
d64a9cf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
deps/hiredis/fmacros.h
View file @
8e0a9f60
...
@@ -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 @
8e0a9f60
...
@@ -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