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 <locale.h> // tolower
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <unistd.h> // sleep
|
#include <unistd.h> // sleep
|
||||||
|
extern char **environ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__CYGWIN__) && !defined(_WIN32)
|
#if defined(__CYGWIN__) && !defined(_WIN32)
|
||||||
@ -136,6 +137,8 @@ $c_common_macros
|
|||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#pragma comment(lib, "Dbghelp.lib")
|
#pragma comment(lib, "Dbghelp.lib")
|
||||||
|
|
||||||
|
extern wchar_t **_wenviron;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@ -334,4 +337,3 @@ void sys_exit (int);
|
|||||||
|
|
||||||
'
|
'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ const (
|
|||||||
#include <locale.h> // tolower
|
#include <locale.h> // tolower
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <unistd.h> // sleep
|
#include <unistd.h> // sleep
|
||||||
|
extern char **environ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__CYGWIN__) && !defined(_WIN32)
|
#if defined(__CYGWIN__) && !defined(_WIN32)
|
||||||
@ -136,6 +137,8 @@ $c_common_macros
|
|||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#pragma comment(lib, "Dbghelp.lib")
|
#pragma comment(lib, "Dbghelp.lib")
|
||||||
|
|
||||||
|
extern wchar_t **_wenviron;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user