remove execinfo.h for now

pull/516/head
Alexander Medvednikov 2019-06-24 15:53:29 +02:00
parent bfd5fb373c
commit 5720b01b7d
2 changed files with 5 additions and 3 deletions

View File

@ -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) ;
*/
}

View File

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