Make project buildable by MSVC

This commit is contained in:
Tau
2018-11-23 18:24:41 -05:00
parent 359561d762
commit 6adb4e7b8b
6 changed files with 63 additions and 10 deletions

11
nu/ds.c
View File

@ -1,4 +1,15 @@
#define WIN32_NO_STATUS
#include <windows.h>
#undef WIN32_NO_STATUS
#include <winternl.h>
#ifdef __GNUC__
#include <ntdef.h>
#else
#include <winnt.h>
#endif
#include <devioctl.h>
#include <ntdddisk.h>
#include <ntstatus.h>
#include <assert.h>

View File

@ -1,5 +1,13 @@
#include <windows.h>
#ifdef __GNUC__
#include <ntdef.h>
#else
#include <winnt.h>
#endif
#include <devioctl.h>
#include <ntdddisk.h>
#include <assert.h>
#include "hook/iohook.h"

View File

@ -1,4 +1,8 @@
#define WIN32_NO_STATUS
#include <windows.h>
#undef WIN32_NO_STATUS
#include <winternl.h>
#include <ntstatus.h>
#include <assert.h>

View File

@ -1,5 +1,13 @@
#include <windows.h>
#ifdef __GNUC__
#include <ntdef.h>
#else
#include <winnt.h>
#endif
#include <devioctl.h>
#include <ntdddisk.h>
#include <assert.h>
#include "hook/iohook.h"