summaryrefslogtreecommitdiff
path: root/src/expand/proc_macro.cpp
diff options
context:
space:
mode:
authorJohn Hodge (Mutabah) <acessdev@gmail.com>2018-06-30 09:22:50 +0800
committerGitHub <noreply@github.com>2018-06-30 09:22:50 +0800
commite7fa373946f2da1a67a5f74d92191da1a13f7841 (patch)
tree0dc1a5b54254cbece789de86e6223cc09d25b255 /src/expand/proc_macro.cpp
parentb03d61ed130dad6fa88a3beb4c32e48f86fdf84e (diff)
parent44262d8ce69f28c3b691131c4fb5e8824563053e (diff)
downloadmrust-e7fa373946f2da1a67a5f74d92191da1a13f7841.tar.gz
Merge pull request #79 from myfreeweb/master
Add FreeBSD and DragonFly support
Diffstat (limited to 'src/expand/proc_macro.cpp')
-rw-r--r--src/expand/proc_macro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/proc_macro.cpp b/src/expand/proc_macro.cpp
index 969f75b0..7d953e37 100644
--- a/src/expand/proc_macro.cpp
+++ b/src/expand/proc_macro.cpp
@@ -24,7 +24,7 @@
# include <sys/wait.h>
#endif
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__)
extern char **environ;
#endif