From 4c81ede32edc92b7b37b1d5f3743b528aa277051 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Thu, 9 Feb 2023 15:43:43 +0400 Subject: [PATCH] Port #15516 (#15541) Co-authored-by: Ilya Lavrenov --- src/inference/include/ie/ie_blob.h | 2 +- src/inference/src/ie_blob_common.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inference/include/ie/ie_blob.h b/src/inference/include/ie/ie_blob.h index bfa2b17178e..7b7fbf804c0 100644 --- a/src/inference/include/ie/ie_blob.h +++ b/src/inference/include/ie/ie_blob.h @@ -809,7 +809,7 @@ protected: }; // These should not be exported for WIN32 to avoid usage of '_handle' and '_allocator' across CRT bounaries -#ifndef WIN32 +#ifndef _WIN32 extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob); extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob); extern template class INFERENCE_ENGINE_API_CLASS(InferenceEngine::TBlob); diff --git a/src/inference/src/ie_blob_common.cpp b/src/inference/src/ie_blob_common.cpp index bff10e07461..8ce8fbbf1f7 100644 --- a/src/inference/src/ie_blob_common.cpp +++ b/src/inference/src/ie_blob_common.cpp @@ -85,7 +85,7 @@ Blob::Ptr make_shared_blob(const Blob::Ptr& inputBlob, Blob::~Blob() {} MemoryBlob::~MemoryBlob() {} -#ifndef WIN32 +#ifndef _WIN32 template class TBlob; template class TBlob; template class TBlob;