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:
Mateusz Jablonski
2023-10-30 15:17:15 +00:00
committed by Compute-Runtime-Automation
parent 14ddcda510
commit 1116424824
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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 = "/";