aboutsummaryrefslogtreecommitdiff
path: root/include/spm.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:50:47 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-18 12:50:47 -0500
commit0790f1e63c45eabaeb61b7dfa4a0d9d4ff824124 (patch)
tree3ecc057366c6b7ef8c6b989ba7c6a906951cc68d /include/spm.h
parentc55d19d5d665e5d1704e43c9e3dea3c8a69eed71 (diff)
downloadspmc-0790f1e63c45eabaeb61b7dfa4a0d9d4ff824124.tar.gz
Allow compilation on OSX. Not much else I assume
Diffstat (limited to 'include/spm.h')
-rw-r--r--include/spm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/spm.h b/include/spm.h
index e4b866b..032a19b 100644
--- a/include/spm.h
+++ b/include/spm.h
@@ -92,4 +92,9 @@ _1________________________________________________"
// GLOBALS
spm_vars SPM_GLOBAL;
+#ifdef __APPLE__
+extern char **environ;
+#define __environ environ
+#endif
+
#endif //SPM_SPM_H