Browse Source

Fix dxcisense.h includes (#4852)

- dxcapi.h is in the same directory
- WinAdapter.h not needed on Windows
Helena Kotas 2 years ago
parent
commit
12515e884b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      include/dxc/dxcisense.h

+ 4 - 2
include/dxc/dxcisense.h

@@ -12,8 +12,10 @@
 #ifndef __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
 {