Skip to content
Snippets Groups Projects
Commit 594525fa authored by Ben Gamari's avatar Ben Gamari
Browse files

base: Fix incorrect CPP guard

This was guarded on `darwin_HOST_OS` instead of `defined(darwin_HOST_OS)`.

(cherry picked from commit d7ef1704)
parent d72181cd
No related branches found
No related tags found
No related merge requests found
...@@ -540,7 +540,7 @@ INLINE int __hscore_open(char *file, int how, mode_t mode) { ...@@ -540,7 +540,7 @@ INLINE int __hscore_open(char *file, int how, mode_t mode) {
} }
#endif #endif
#if darwin_HOST_OS #if defined(darwin_HOST_OS)
// You should not access _environ directly on Darwin in a bundle/shared library. // You should not access _environ directly on Darwin in a bundle/shared library.
// See #2458 and http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man7/environ.7.html // See #2458 and http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man7/environ.7.html
#include <crt_externs.h> #include <crt_externs.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment