Put mingw on gcc code path (#16101)

* Supported mingw-w64

* Supported mingw-w64

* Supported mingw-w64
This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2023-05-17 00:47:55 +04:00
1 parent 87a39fb007
commit 04171416f4
112 files changed
+684 -553

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ namespace TimeUtils {
bool localtimeSafe(const time_t* time, struct tm* result) {
if (time && result) {
#if (defined(_WIN32) || defined(_WIN64))
#if defined(_WIN32)
localtime_s(result, time);
#else
localtime_r(time, result);
@@ -32,7 +32,7 @@ std::string putTime(std::chrono::system_clock::time_point tp, const char* format
std::stringstream ss;
#if (defined(__GNUC__) && (__GNUC__ < 5))
#if (defined(__GNUC__) && (__GNUC__ < 5)) && !defined(__clang__)
char time_str[24];
strftime(time_str, sizeof(time_str), format, &t);
ss << time_str;
@@ -1,6 +1,9 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <thread>
#include "include/mock_auto_device_plugin.hpp"
#include "include/auto_infer_request_test_base.hpp"
@@ -1,6 +1,9 @@
// Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <thread>
#include "include/mock_auto_device_plugin.hpp"
#include "include/auto_infer_request_test_base.hpp"
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
//
#include <thread>
#include "include/auto_infer_request_test_base.hpp"
mockAsyncInferRequest::mockAsyncInferRequest(const InferenceEngine::IInferRequestInternal::Ptr &inferRequest,
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
//
#include <thread>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
@@ -11,7 +11,7 @@ using ::testing::_;
using namespace MockMultiDevice;
// disable using windows.h
#if 0
#if (defined(_WIN32) || defined(_WIN64))
#if defined(_WIN32)
#include <windows.h>
#elif defined(__linux__)
#include <stdlib.h>