mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-24 22:11:04 +00:00
Builds and runs mostly fine
This commit is contained in:
parent
bd0cc3c212
commit
a716883971
@ -64,7 +64,7 @@ void terminate(int arg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static BOOL winTerminate(DWORD arg) {
|
static BOOL WINAPI winTerminate(DWORD arg) {
|
||||||
terminate(0);
|
terminate(0);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
2
vendor/bcrypt/bcrypt.c
vendored
2
vendor/bcrypt/bcrypt.c
vendored
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#ifdef _WIN32 || _WIN64
|
#ifdef _WIN32 || _WIN64
|
||||||
// On windows we need to generate random bytes differently.
|
// On windows we need to generate random bytes differently.
|
||||||
typedef __int64 ssize_t;
|
//typedef __int64 ssize_t;
|
||||||
#define BCRYPT_HASHSIZE 60
|
#define BCRYPT_HASHSIZE 60
|
||||||
|
|
||||||
#include "bcrypt.h"
|
#include "bcrypt.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user