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
hiredis
Commits
bc0ea5c4
Commit
bc0ea5c4
authored
Jun 19, 2016
by
Ted Nyman
Committed by
GitHub
Jun 19, 2016
Browse files
Do not define _XOPEN_SOURCE for OS X
Resolves failed `make` on OS X.
parent
e30db1a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
fmacros.h
View file @
bc0ea5c4
...
@@ -13,8 +13,10 @@
...
@@ -13,8 +13,10 @@
#if defined(__sun__)
#if defined(__sun__)
#define _POSIX_C_SOURCE 200112L
#define _POSIX_C_SOURCE 200112L
#else
#else
#if !(defined(__APPLE__) && defined(__MACH__))
#define _XOPEN_SOURCE 600
#define _XOPEN_SOURCE 600
#endif
#endif
#endif
#if defined(__APPLE__) && defined(__MACH__)
#if defined(__APPLE__) && defined(__MACH__)
#define _OSX
#define _OSX
...
...
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