mirror of
https://github.com/opencv/opencv.git
synced 2025-07-26 07:07:37 +08:00
dnn: turn off visibility workaround for OpenVINO 2020.1
This commit is contained in:
parent
d81a0da3e0
commit
0a91261c7f
@ -50,7 +50,7 @@
|
|||||||
#pragma warning(disable: 4996) // was declared deprecated
|
#pragma warning(disable: 4996) // was declared deprecated
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_1)
|
||||||
#pragma GCC visibility push(default)
|
#pragma GCC visibility push(default)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
#include <ie_builders.hpp>
|
#include <ie_builders.hpp>
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && INF_ENGINE_VER_MAJOR_LT(INF_ENGINE_RELEASE_2020_1)
|
||||||
#pragma GCC visibility pop
|
#pragma GCC visibility pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user