mirror of https://gitee.com/bigwinds/arangodb
don't let the mac-fix break linux ;-)
This commit is contained in:
parent
8950175eac
commit
6ec5920057
|
@ -29,11 +29,16 @@
|
|||
#ifdef _WIN32
|
||||
#include "Basics/win-utils.h"
|
||||
#else
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
#include "v8-utils.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <crt_externs.h>
|
||||
#define environ (*_NSGetEnviron())
|
||||
#elif !defined(_MSC_VER)
|
||||
extern char **environ;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
static void EnvGetter(v8::Local<v8::String> property,
|
||||
|
|
Loading…
Reference in New Issue