mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
add C.environ to cheaders.v
This commit is contained in:
parent
a569959fb8
commit
f6480be3aa
@ -73,6 +73,7 @@ const (
|
||||
#include <locale.h> // tolower
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h> // sleep
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
#if defined(__CYGWIN__) && !defined(_WIN32)
|
||||
@ -136,6 +137,8 @@ $c_common_macros
|
||||
#include <dbghelp.h>
|
||||
#pragma comment(lib, "Dbghelp.lib")
|
||||
|
||||
extern wchar_t **_wenviron;
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
@ -334,4 +337,3 @@ void sys_exit (int);
|
||||
|
||||
'
|
||||
)
|
||||
|
||||
|
@ -73,6 +73,7 @@ const (
|
||||
#include <locale.h> // tolower
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h> // sleep
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
#if defined(__CYGWIN__) && !defined(_WIN32)
|
||||
@ -136,6 +137,8 @@ $c_common_macros
|
||||
#include <dbghelp.h>
|
||||
#pragma comment(lib, "Dbghelp.lib")
|
||||
|
||||
extern wchar_t **_wenviron;
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user