add C.environ to cheaders.v

pull/3974/head
Delyan Angelov 2020-03-08 18:38:53 +02:00 committed by GitHub
parent a569959fb8
commit f6480be3aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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);
'
)

View File

@ -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