瀏覽代碼

Merge pull request #4 from mtnpke/km

Add EA_PLATFORM_WINDOWS_KERNEL
James Moran 3 年之前
父節點
當前提交
bf99bf17ee
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/Common/EABase/config/eaplatform.h

+ 4 - 0
include/Common/EABase/config/eaplatform.h

@@ -569,6 +569,10 @@
 	#define EA_PLATFORM_DESKTOP 1
 	#define EA_PLATFORM_MICROSOFT 1
 
+	#if defined(_KERNEL_MODE)
+		#define EA_PLATFORM_WINDOWS_KERNEL 1
+	#endif
+
 	// WINAPI_FAMILY defines to support Windows 8 Metro Apps - mirroring winapifamily.h in the Windows 8 SDK
 	#define EA_WINAPI_FAMILY_APP         1000
 	#define EA_WINAPI_FAMILY_DESKTOP_APP 1001