From 4622f2f15dce8a68e55af45b13ac90a6af5d160d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20Trzci=C5=84ski?= Date: Mon, 30 Aug 2021 09:26:59 +0200 Subject: [PATCH] IE: Fix Windows compilation on MSVC (#7206) `Win32` may be undefined when MSVC is used, see: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?redirectedfrom=MSDN&view=msvc-160 Signed-off-by: Karol Trzcinski --- .../src/inference_engine/src/compilation_context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inference-engine/src/inference_engine/src/compilation_context.cpp b/inference-engine/src/inference_engine/src/compilation_context.cpp index ed787235e1b..30baa04b9d1 100644 --- a/inference-engine/src/inference_engine/src/compilation_context.cpp +++ b/inference-engine/src/inference_engine/src/compilation_context.cpp @@ -7,7 +7,7 @@ #include #include -#ifndef WIN32 +#ifndef _WIN32 # include #endif #include @@ -23,7 +23,7 @@ #include "transformations/rt_info/primitives_priority_attribute.hpp" #include "transformations/serialize.hpp" -#ifdef WIN32 +#ifdef _WIN32 # define stat _stat #endif