Skip to content

Commit 5cbde76

Browse files
Ori LevariRyan Lai
authored andcommitted
add preprocessor directive that can block DXCORE (#250)
1 parent 2c218ae commit 5cbde76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/WinMLRunner/src/Common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
#include "TimerHelper.h"
2626
#include "DirectXPackedVector.h"
2727

28+
#ifndef BLOCK_DXCORE
2829
#if __has_include("dxcore.h")
2930
#include <initguid.h>
3031
#include <dxcore.h>
3132
#define DXCORE_SUPPORTED_BUILD
3233
#endif
34+
#endif
3335

3436
enum WINML_MODEL_TEST_PERF
3537
{

0 commit comments

Comments
 (0)