RefleX
Build DDS Applications in Modern C++ without IDL
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
dllexport.h
Go to the documentation of this file.
1 /*********************************************************************************************
2 (c) 2005-2014 Copyright, Real-Time Innovations, Inc. All rights reserved.
3 RTI grants Licensee a license to use, modify, compile, and create derivative works
4 of the Software. Licensee has the right to distribute object form only for use with RTI
5 products. The Software is provided "as is", with no warranty of any type, including
6 any warranty for fitness for any purpose. RTI is under no obligation to maintain or
7 support the Software. RTI shall not be liable for any incidental or consequential
8 damages arising out of the use or inability to use the software.
9 **********************************************************************************************/
10 
11 #ifndef RTIREFLEX_DLLEXPORT_H
12 #define RTIREFLEX_DLLEXPORT_H
13 
14 #ifdef REFLEX_NO_HEADER_ONLY
15 
16 #ifdef RTI_WIN32
17  #ifdef BUILD_DD2TUPLE_DLL
18  #define REFLEX_DLL_EXPORT __declspec( dllexport )
19  #define REFLEX_DECLSPEC __cdecl
20  #define REFLEX_EXPIMP_TEMPLATE
21  #else
22  #define REFLEX_DLL_EXPORT __declspec( dllimport )
23  #define REFLEX_DECLSPEC __cdecl
24  #define REFLEX_EXPIMP_TEMPLATE extern
25  #endif
26 #else
27  #define REFLEX_DLL_EXPORT
28  #define REFLEX_DECLSPEC
29  #define REFLEX_EXPIMP_TEMPLATE
30 #endif
31 
32 #define REFLEX_INLINE
33 
34 #else
35  #define REFLEX_DLL_EXPORT
36  #define REFLEX_DECLSPEC
37  #define REFLEX_EXPIMP_TEMPLATE
38  #define REFLEX_INLINE inline
39 #endif // REFLEX_NO_HEADER_ONLY
40 
41 #endif // RTIREFLEX_DLLEXPORT_H