mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
remove execinfo.h for now
This commit is contained in:
parent
bfd5fb373c
commit
5720b01b7d
2 changed files with 5 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
module os
|
||||
|
||||
#include <execinfo.h>
|
||||
//#include <execinfo.h> // for backtrace_symbols_fd
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
@ -62,10 +62,12 @@ fn ls(path string) []string {
|
|||
}
|
||||
|
||||
fn print_backtrace() {
|
||||
/*
|
||||
# void *buffer[100];
|
||||
nptrs := 0
|
||||
# nptrs = backtrace(buffer, 100);
|
||||
# printf("%d!!\n", nptrs);
|
||||
# backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO) ;
|
||||
*/
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ pub:
|
|||
uni int // TODO it's safe to use "unix" now
|
||||
}
|
||||
|
||||
fn asfd() {
|
||||
fn remove_me_when_c_bug_is_fixed() { // TODO
|
||||
}
|
||||
|
||||
struct C.tm {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue