VISR  0.11.8
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_PANNING_EXPORT_SYMBOLS_HPP_INCLUDED
4 #define VISR_PANNING_EXPORT_SYMBOLS_HPP_INCLUDED
5 
13 #ifndef VISR_PANNING_STATIC_LIBRARY
14 
15 #ifdef _MSC_VER // Windows platform
16 #ifdef VISR_BUILD_PANNING_LIBRARY
17 #define VISR_PANNING_LIBRARY_SYMBOL __declspec(dllexport)
18 #else
19 #define VISR_PANNING_LIBRARY_SYMBOL __declspec(dllimport)
20 #endif // #ifdef VISR_BUILD_PANNING_LIBRARIES
21 #elif defined(__GNUC__)
22 
23 // Unix platforms (Linux and Mac OS X)
24 #define VISR_PANNING_LIBRARY_SYMBOL __attribute__((visibility("default")))
25 
26 #else
27 #error "Platform does not support symbol export."
28 #endif // #ifdef _WIN32
29 
30 #else // VISR_PANNING_STATIC_LIBRARY
31 
32 #define VISR_PANNING_LIBRARY_SYMBOL // expand to empty string
33 
34 #endif // VISR_PANNING_STATIC_LIBRARY
35 
36 #endif // #ifndef VISR_PANNING_EXPORT_SYMBOLS_HPP_INCLUDED