/* Buid options and configuration (set by cmake) */ #define UA_LOGLEVEL ${UA_LOGLEVEL} #cmakedefine UA_MULTITHREADING /* Function Export */ #ifdef _WIN32 # ifdef UA_DYNAMIC_LINKING # ifdef __GNUC__ # define UA_EXPORT __attribute__ ((dllexport)) # else # define UA_EXPORT __declspec(dllexport) # endif # else # ifndef STATIC_LINKING # ifdef __GNUC__ # define UA_EXPORT __attribute__ ((dllimport)) # else # define UA_EXPORT __declspec(dllimport) # endif # else # define UA_EXPORT # endif # endif #else # if __GNUC__ || __clang__ # define UA_EXPORT __attribute__ ((visibility ("default"))) # else # define UA_EXPORT # endif #endif