Open wysiengnik11 opened 7 months ago
So, anyway, after I took a second look at everything I noticed more of those GetLastError's, made a little function and just started blasting. Tested all of them too, except those more annoying nob_proc_wait ones.
Update nob_file_exists to distinguish between "does not exists" and other windows errors (todo).
Couldn't get nob to compile and thought #if _WIN32 was the cause, forked already, and then noticed that it doesn't matter, it was something on my end. So I decided to just go ahead and fix something, and #ifdef _WIN32 is now just a consistancy/cleanliness bonus. Had some trouble with FormatMessage, so helped myself to the answer from stackoverflow.com/questions/455434