Skip to content

Commit 12515e8

Browse files
authored
Fix dxcisense.h includes (#4852)
- dxcapi.h is in the same directory - WinAdapter.h not needed on Windows
1 parent cafbbed commit 12515e8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

include/dxc/dxcisense.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
#ifndef __DXC_ISENSE__
1313
#define __DXC_ISENSE__
1414

15-
#include "dxc/dxcapi.h"
16-
#include "dxc/Support/WinAdapter.h"
15+
#include "dxcapi.h"
16+
#ifndef _WIN32
17+
#include "Support/WinAdapter.h"
18+
#endif
1719

1820
typedef enum DxcGlobalOptions
1921
{

0 commit comments

Comments
 (0)