Fix MSVC compatibility issues

Project now builds in Visual Studio 2017, probably earlier versions
too as long as they support enough of C99.
This commit is contained in:
Decaf Code
2018-11-23 13:58:25 -05:00
parent d985965639
commit bfee3db861
10 changed files with 56 additions and 11 deletions
+1
View File
@@ -1,4 +1,5 @@
#define WIN32_NO_STATUS
/* See precompiled.h for more information */
#include <windows.h>
#undef WIN32_NO_STATUS
#include <winternl.h>
+4 -1
View File
@@ -1,7 +1,10 @@
hook_lib = static_library(
'hook',
include_directories : inc,
c_pch : '../precompiled.h',
c_pch : [
'../precompiled.c',
'../precompiled.h',
],
sources : [
'args.c',
'args.h',