Fix driver compilation with latest phnt

This commit is contained in:
Duncan Ogilvie
2024-12-02 16:38:14 +01:00
parent 3fcb22e289
commit cfc8cfbd66
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ if(NOT EXISTS "${phnt_DIR}/phnt.h")
endif()
# Default to a Release build
get_property(GENERATOR_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(GENERATOR_IS_MULTI_CONFIG)
set(CMAKE_CONFIGURATION_TYPES "Release" CACHE STRING "")
elseif(NOT DEFINED CACHE{CMAKE_BUILD_TYPE})
+1
View File
@@ -8,6 +8,7 @@ extern "C"
#include <ntimage.h>
#include <wdm.h>
#include <stddef.h>
#include <minwindef.h>
}
#define PHNT_VERSION PHNT_WIN11