Go to the documentation of this file.00001
00008
00009
00010
00011
00012 #ifndef ECL_THREADS_MACROS_HPP_
00013 #define ECL_THREADS_MACROS_HPP_
00014
00015
00016
00017
00018
00019 #include <ecl/config/macros.hpp>
00020 #include <ecl/config/ecl.hpp>
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifdef ECL_HAS_SHARED_LIBS // ecl is being built around shared libraries
00030 #ifdef ecl_threads_EXPORTS // we are building a shared lib/dll
00031 #define ecl_threads_PUBLIC ECL_HELPER_EXPORT
00032 #else // we are using shared lib/dll
00033 #define ecl_threads_PUBLIC ECL_HELPER_IMPORT
00034 #endif
00035 #define ecl_threads_LOCAL ECL_HELPERS_LOCAL
00036 #else // ecl is being built around static libraries
00037 #define ecl_threads_PUBLIC
00038 #define ecl_threads_LOCAL
00039 #endif
00040
00041 #endif