mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cc.v: build with "implicit-function-declaration" and fix declarations
required for the webassembly backend 2
This commit is contained in:
@@ -8,7 +8,10 @@ module os
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
//#include <execinfo.h> // for backtrace_symbols_fd
|
||||
$if mac {
|
||||
#include <execinfo.h> // for backtrace and backtrace_symbols_fd
|
||||
#include <libproc.h> // proc_pidpath
|
||||
}
|
||||
|
||||
/*
|
||||
struct dirent {
|
||||
|
||||
Reference in New Issue
Block a user