medit/moo/mooutils/moo-environ.h

14 lines
240 B
C
Raw Normal View History

#ifndef MOO_ENVIRON_H
#define MOO_ENVIRON_H
#include <config.h>
#if defined(MOO_OS_DARWIN)
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#elif !defined(MOO_OS_MINGW)
extern char **environ;
#endif
#endif /* MOO_ENVIRON_H */