diff --git a/libraries/base/include/HsBase.h b/libraries/base/include/HsBase.h index d841141be2e7491fd8359b33946acb80e9882fac..d883eb8d64a938d369cc2f1a4c898d2744315daa 100644 --- a/libraries/base/include/HsBase.h +++ b/libraries/base/include/HsBase.h @@ -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>