mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
SRFI-98: Do not decl. environ as extern on Win32
On Win32, environ definition is included in <stdlib.h>.
This commit is contained in:
parent
d51a9e976b
commit
da7b68f82e
1 changed files with 1 additions and 3 deletions
|
@ -5,11 +5,9 @@
|
|||
#ifdef __APPLE__
|
||||
#include <crt_externs.h>
|
||||
#define environ (*_NSGetEnviron())
|
||||
#else
|
||||
#ifndef PLAN9
|
||||
#elif !defined(_WIN32) && !defined(PLAN9)
|
||||
extern char **environ;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <chibi/eval.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue