Convert usages of errx to h_platform_errx
This BSD call will have to be implemented on windows. Right now we have a stub that just exits the process.
This commit is contained in:
parent
c8726244ae
commit
0c35525e30
10 changed files with 63 additions and 12 deletions
10
src/platform_win32.c
Normal file
10
src/platform_win32.c
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#include "platform.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include "windows.h"
|
||||
|
||||
void h_platform_errx(int err, const char* format, ...) {
|
||||
// FIXME(windows) TODO(uucidl): to be implemented
|
||||
ExitProcess(err);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue