Builds and runs mostly fine

This commit is contained in:
dongresource 2023-09-13 21:57:19 +02:00
parent bd0cc3c212
commit a716883971
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void terminate(int arg) {
}
#ifdef _WIN32
static BOOL winTerminate(DWORD arg) {
static BOOL WINAPI winTerminate(DWORD arg) {
terminate(0);
return FALSE;
}

View File

@ -24,7 +24,7 @@
#ifdef _WIN32 || _WIN64
// On windows we need to generate random bytes differently.
typedef __int64 ssize_t;
//typedef __int64 ssize_t;
#define BCRYPT_HASHSIZE 60
#include "bcrypt.h"