浏览代码

Fix dxcisense.h includes (#4852)

- dxcapi.h is in the same directory
- WinAdapter.h not needed on Windows
Helena Kotas 2 年之前
父节点
当前提交
12515e884b
共有 1 个文件被更改,包括 4 次插入2 次删除
  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
 {