diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:50:47 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-18 12:50:47 -0500 |
commit | 0790f1e63c45eabaeb61b7dfa4a0d9d4ff824124 (patch) | |
tree | 3ecc057366c6b7ef8c6b989ba7c6a906951cc68d /include/spm.h | |
parent | c55d19d5d665e5d1704e43c9e3dea3c8a69eed71 (diff) | |
download | spmc-0790f1e63c45eabaeb61b7dfa4a0d9d4ff824124.tar.gz |
Allow compilation on OSX. Not much else I assume
Diffstat (limited to 'include/spm.h')
-rw-r--r-- | include/spm.h | 5 |
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 |