forked from OSchip/llvm-project
Fix declaration of environ after r327923
llvm-svn: 328077
This commit is contained in:
parent
5a69a0011b
commit
f1fc25eb74
|
@ -102,16 +102,14 @@ extern struct ps_strings *__ps_strings;
|
|||
#if SANITIZER_SOLARIS
|
||||
#include <stdlib.h>
|
||||
#include <thread.h>
|
||||
#define environ _environ
|
||||
#endif
|
||||
|
||||
#if !SANITIZER_ANDROID
|
||||
#include <sys/signal.h>
|
||||
#endif
|
||||
|
||||
#if SANITIZER_SOLARIS
|
||||
#define environ _environ
|
||||
#endif
|
||||
extern char **_environ;
|
||||
extern char **environ;
|
||||
|
||||
#if SANITIZER_LINUX
|
||||
// <linux/time.h>
|
||||
|
|
Loading…
Reference in New Issue