mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
fix: fix compilation of L0 black box tests for clang on Windows
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
14ddcda510
commit
1116424824
@@ -72,7 +72,7 @@ set(TEST_TARGETS
|
||||
include_directories(common)
|
||||
|
||||
foreach(TEST_NAME ${TEST_TARGETS})
|
||||
if(MSVC)
|
||||
if(WIN32)
|
||||
if(${TEST_NAME} STREQUAL "zello_host_ipc_copy_dma_buf")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
#include <process.h>
|
||||
#pragma warning(disable : 4996)
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
const char *fSeparator = "\\";
|
||||
#elif defined(__linux__)
|
||||
const char *fSeparator = "/";
|
||||
|
||||
Reference in New Issue
Block a user