Parcourir la source

Removed psapi.h from non-windows builds.

Branimir Karadžić il y a 11 ans
Parent
commit
10aeb83a69
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/renderdoc.cpp

+ 3 - 1
src/renderdoc.cpp

@@ -6,7 +6,9 @@
 #include "bgfx_p.h"
 #include "bgfx_p.h"
 
 
 #if BGFX_CONFIG_DEBUG_PIX
 #if BGFX_CONFIG_DEBUG_PIX
-#	include <psapi.h>
+#	if BX_PLATFORM_WINDOWS
+#		include <psapi.h>
+#	endif // BX_PLATFORM_WINDOWS
 #	include <renderdoc/renderdoc_app.h>
 #	include <renderdoc/renderdoc_app.h>
 
 
 namespace bgfx
 namespace bgfx