RTI Distributed Logger API
Version 7.7.0
rti_dl_dll_cpp.h
1
/*
2
* (c) Copyright, Real-Time Innovations, 2003-2021.
3
* All rights reserved.
4
* No duplications, whole or partial, manual or electronic, may be made
5
* without express written permission. Any such copies, or
6
* revisions thereof, must display this notice unaltered.
7
* This code contains trade secrets of Real-Time Innovations, Inc.
8
*/
9
10
#ifndef rti_dl_dll_cpp_h
11
#define rti_dl_dll_cpp_h
12
13
#if defined(RTI_WIN32) || defined(RTI_WINCE) || defined(RTI_INTIME)
14
#if defined(RTI_rti_dl_cpp_DLL_EXPORT)
15
#define RTIDLCPPDllExport __declspec(dllexport)
16
#else
17
#define RTIDLCPPDllExport
18
#endif
/* RTI_rti_dl_cpp_DLL_EXPORT */
19
20
#if defined(RTI_rti_dl_cpp_DLL_VARIABLE)
21
#if defined(RTI_rti_dl_cpp_DLL_EXPORT)
22
#define RTIDLCPPDllVariable __declspec(dllexport)
23
#else
24
#define RTIDLCPPDllVariable __declspec(dllimport)
25
#endif
/* RTI_rti_dl_cpp_DLL_EXPORT */
26
#else
27
#define RTIDLCPPDllVariable
28
#endif
/* RTI_rti_dl_cpp_DLL_EXPORT */
29
#elif defined(RTI_VISIBILITY_HIDDEN)
30
#define RTIDLCPPDllExport __attribute__((visibility("default"
)))
31
#define RTIDLCPPDllVariable __attribute__((visibility("default"
)))
32
#else
33
#define RTIDLCPPDllExport
34
#define RTIDLCPPDllVariable
35
#endif
/* RTI_WIN32 || RTI_WINCE || RTI_INTIME */
36
37
#endif
/* rti_dl_dll_cpp_h */