5 #ifdef CBOR_STATIC_DEFINE
7 # define CBOR_NO_EXPORT
11 /* We are building this library */
12 # define CBOR_EXPORT __attribute__((visibility("default")))
14 /* We are using this library */
15 # define CBOR_EXPORT __attribute__((visibility("default")))
19 # ifndef CBOR_NO_EXPORT
20 # define CBOR_NO_EXPORT __attribute__((visibility("hidden")))
24 #ifndef CBOR_DEPRECATED
25 # define CBOR_DEPRECATED __attribute__ ((__deprecated__))
28 #ifndef CBOR_DEPRECATED_EXPORT
29 # define CBOR_DEPRECATED_EXPORT CBOR_EXPORT CBOR_DEPRECATED
32 #ifndef CBOR_DEPRECATED_NO_EXPORT
33 # define CBOR_DEPRECATED_NO_EXPORT CBOR_NO_EXPORT CBOR_DEPRECATED
36 #if 0 /* DEFINE_NO_DEPRECATED */
37 # ifndef CBOR_NO_DEPRECATED
38 # define CBOR_NO_DEPRECATED
42 #endif /* CBOR_EXPORT_H */