#ifndef CBOR_EXPORT_H #define CBOR_EXPORT_H #ifdef CBOR_STATIC_DEFINE # define CBOR_EXPORT # define CBOR_NO_EXPORT #else # ifndef CBOR_EXPORT # ifdef cbor_EXPORTS /* We are building this library */ # define CBOR_EXPORT __attribute__((visibility("default"))) # else /* We are using this library */ # define CBOR_EXPORT __attribute__((visibility("default"))) # endif # endif # ifndef CBOR_NO_EXPORT # define CBOR_NO_EXPORT __attribute__((visibility("hidden"))) # endif #endif #ifndef CBOR_DEPRECATED # define CBOR_DEPRECATED __attribute__ ((__deprecated__)) #endif #ifndef CBOR_DEPRECATED_EXPORT # define CBOR_DEPRECATED_EXPORT CBOR_EXPORT CBOR_DEPRECATED #endif #ifndef CBOR_DEPRECATED_NO_EXPORT # define CBOR_DEPRECATED_NO_EXPORT CBOR_NO_EXPORT CBOR_DEPRECATED #endif #if 0 /* DEFINE_NO_DEPRECATED */ # ifndef CBOR_NO_DEPRECATED # define CBOR_NO_DEPRECATED # endif #endif #endif /* CBOR_EXPORT_H */