From 0a91261c7f21db40c8ef8a180d9e7c77a5dd81c9 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Wed, 12 Feb 2020 17:22:44 +0300 Subject: [PATCH] dnn: turn off visibility workaround for OpenVINO 2020.1 --- modules/dnn/src/op_inf_engine.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/src/op_inf_engine.hpp b/modules/dnn/src/op_inf_engine.hpp index 408fe0c4b7..7cf8a324aa 100644 --- a/modules/dnn/src/op_inf_engine.hpp +++ b/modules/dnn/src/op_inf_engine.hpp @@ -50,7 +50,7 @@ #pragma warning(disable: 4996) // was declared deprecated #endif -#if defined(__GNUC__) +#if defined(__GNUC__) && INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_1) #pragma GCC visibility push(default) #endif @@ -58,7 +58,7 @@ #include -#if defined(__GNUC__) +#if defined(__GNUC__) && INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_1) #pragma GCC visibility pop #endif