macros.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_THREADS_MACROS_HPP_
13 #define ECL_THREADS_MACROS_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/macros.hpp>
20 #include <ecl/config/ecl.hpp>
21 
22 /*****************************************************************************
23 ** Declspecs
24 *****************************************************************************/
25 
26 /*
27  * Import/exports symbols for the library
28  */
29 #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
30  #ifdef ecl_threads_EXPORTS // we are building a shared lib/dll
31  #define ecl_threads_PUBLIC ECL_HELPER_EXPORT
32  #else // we are using shared lib/dll
33  #define ecl_threads_PUBLIC ECL_HELPER_IMPORT
34  #endif
35  #define ecl_threads_LOCAL ECL_HELPERS_LOCAL
36 #else // ecl is being built around static libraries
37  #define ecl_threads_PUBLIC
38  #define ecl_threads_LOCAL
39 #endif
40 
41 #endif /* ECL_THREADS_MACROS_HPP_ */


ecl_threads
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:53