Bläddra i källkod

Fix dxcisense.h includes (#4852)

- dxcapi.h is in the same directory
- WinAdapter.h not needed on Windows
Helena Kotas 2 år sedan
förälder
incheckning
12515e884b
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      include/dxc/dxcisense.h

+ 4 - 2
include/dxc/dxcisense.h

@@ -12,8 +12,10 @@
 #ifndef __DXC_ISENSE__
 #ifndef __DXC_ISENSE__
 #define __DXC_ISENSE__
 #define __DXC_ISENSE__
 
 
-#include "dxc/dxcapi.h"
-#include "dxc/Support/WinAdapter.h"
+#include "dxcapi.h"
+#ifndef _WIN32
+#include "Support/WinAdapter.h"
+#endif
 
 
 typedef enum DxcGlobalOptions
 typedef enum DxcGlobalOptions
 {
 {