diff --git a/os/os_mac.v b/os/os_mac.v index 9684246e1e..fbcfa3bd11 100644 --- a/os/os_mac.v +++ b/os/os_mac.v @@ -4,9 +4,9 @@ module os -#include +//#include // for backtrace_symbols_fd #include -#include +#include #include #include // import darwin @@ -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) ; +*/ } diff --git a/time/time.v b/time/time.v index f29034ef94..9e068274ea 100644 --- a/time/time.v +++ b/time/time.v @@ -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 {