mirror of
https://github.com/mrexodia/phnt-single-header
synced 2026-06-08 16:10:51 +00:00
Fix driver compilation with latest phnt
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -8,6 +8,7 @@ extern "C"
|
||||
#include <ntimage.h>
|
||||
#include <wdm.h>
|
||||
#include <stddef.h>
|
||||
#include <minwindef.h>
|
||||
}
|
||||
|
||||
#define PHNT_VERSION PHNT_WIN11
|
||||
|
||||
Reference in New Issue
Block a user