Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / thirdparty / fluid / modules / gapi / include / opencv2 / gapi / own / exports.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 //
5 // Copyright (C) 2018-2019 Intel Corporation
6
7
8 #ifndef OPENCV_GAPI_OWN_TYPES_HPP
9 #define OPENCV_GAPI_OWN_TYPES_HPP
10
11 #   if 0
12 #       include <opencv2/core/base.hpp>
13 #       define GAPI_EXPORTS CV_EXPORTS
14
15 #   else
16 #       if defined _WIN32
17 #           define GAPI_EXPORTS __declspec(dllexport)
18 #       elif defined __GNUC__ && __GNUC__ >= 4
19 #           define GAPI_EXPORTS __attribute__ ((visibility ("default")))
20 #       endif
21
22 #       ifndef GAPI_EXPORTS
23 #           define GAPI_EXPORTS
24 #       endif
25
26 #   endif
27
28 #endif // OPENCV_GAPI_OWN_TYPES_HPP