#ifndef UA_CONFIG_H_ #define UA_CONFIG_H_ /* 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 # ifdef __GNUC__ # define UA_EXPORT __attribute__ ((dllexport)) # else # define UA_EXPORT __declspec(dllimport) # endif # endif #else # if __GNUC__ || __clang__ # define UA_EXPORT __attribute__ ((visibility ("default"))) # else # define UA_EXPORT # endif #endif /* Define your own htoleXX and leXXtoh here if needed. Otherwise the ones defined in endian.h are used */ // #define htole16(x) {...}(x) // #define htole32(x) {...}(x) // #define htole64(x) {...}(x) // #define le16toh(x) {...}(x) // #define le32toh(x) {...}(x) // #define le64toh(x) {...}(x) #endif /* UA_CONFIG_H_ */