From 0a55864132d0b4bcd9d36a0ab3bbeafb1cadf8c8 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 2 Jun 2018 14:11:49 +0800 Subject: OSX Build Tweak - environ definition --- src/expand/proc_macro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/expand/proc_macro.cpp b/src/expand/proc_macro.cpp index 28d9f613..969f75b0 100644 --- a/src/expand/proc_macro.cpp +++ b/src/expand/proc_macro.cpp @@ -24,7 +24,7 @@ # include #endif -#if defined(__OpenBSD__) || defined(__NetBSD__) +#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) extern char **environ; #endif -- cgit v1.2.3