VISR
0.11.7
Versatile Interactive Scene Renderer
export_symbols.hpp
Go to the documentation of this file.
1
/* Copyright Institute of Sound and Vibration Research - All rights reserved */
2
3
#ifndef VISR_RRL_EXPORT_SYMBOLS_HPP_INCLUDED
4
#define VISR_RRL_EXPORT_SYMBOLS_HPP_INCLUDED
5
13
#ifndef VISR_RRL_STATIC_LIBRARY
14
#ifdef _MSC_VER // Windows platform
15
#ifdef VISR_BUILD_RRL_LIBRARY
16
#define VISR_RRL_LIBRARY_SYMBOL __declspec(dllexport)
17
#else
18
#define VISR_RRL_LIBRARY_SYMBOL __declspec(dllimport)
19
#endif // #ifdef VISR_BUILD_RRL_LIBRARY
20
#elif defined(__GNUC__)
21
22
// Unix platforms (Linux and Mac OS X)
23
#define VISR_RRL_LIBRARY_SYMBOL __attribute__((visibility("default")))
24
25
#else
26
#error "Platform does not support symbol export."
27
#endif // #ifdef _WIN32
28
29
#else // #ifdef VISR_RRL_STATIC_LIBRARY
30
#define VISR_RRL_LIBRARY_SYMBOL // empty
31
#endif // #ifdef VISR_RRL_STATIC_LIBRARY
32
33
#endif // #ifndef VISR_RRL_EXPORT_SYMBOLS_HPP_INCLUDED
src
librrl
export_symbols.hpp
Generated on Mon Nov 12 2018 12:57:38 for VISR by
1.8.14