summaryrefslogtreecommitdiff
path: root/interface/vsomeip/export.hpp
blob: 16b4d23c4f9bc1ce64bfabd9827afb88b62d59f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2014-2016 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef __EXPORT__HPP__
#define __EXPORT__HPP__

#if WIN32
    #define VSOMEIP_EXPORT __declspec(dllexport)
    #define VSOMEIP_EXPORT_CLASS_EXPLICIT

    #if VSOMEIP_DLL_COMPILATION
        #define VSOMEIP_IMPORT_EXPORT __declspec(dllexport)
    #else
        #define VSOMEIP_IMPORT_EXPORT __declspec(dllimport)
    #endif
#else
    #define VSOMEIP_EXPORT
    #define VSOMEIP_IMPORT_EXPORT
#endif

#endif