Skip to content
Snippets Groups Projects
Commit d7ef1704 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

base: Fix incorrect CPP guard

This was guarded on `darwin_HOST_OS` instead of `defined(darwin_HOST_OS)`.
parent 8b35e8ca
No related merge requests found
......@@ -540,7 +540,7 @@ INLINE int __hscore_open(char *file, int how, mode_t mode) {
}
#endif
#if darwin_HOST_OS
#if defined(darwin_HOST_OS)
// 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
#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