#ifndef DDSGEN_EXPORT_H #define DDSGEN_EXPORT_H #ifdef DDSGEN_STATIC_DEFINE # define DDSGEN_EXPORT # define DDSGEN_NO_EXPORT #else # ifndef DDSGEN_EXPORT # ifdef ddsgen_EXPORTS /* We are building this library */ # define DDSGEN_EXPORT __attribute__((visibility("default"))) # else /* We are using this library */ # define DDSGEN_EXPORT __attribute__((visibility("default"))) # endif # endif # ifndef DDSGEN_NO_EXPORT # define DDSGEN_NO_EXPORT __attribute__((visibility("hidden"))) # endif #endif #ifndef DDSGEN_DEPRECATED # define DDSGEN_DEPRECATED __attribute__ ((__deprecated__)) #endif #ifndef DDSGEN_DEPRECATED_EXPORT # define DDSGEN_DEPRECATED_EXPORT DDSGEN_EXPORT DDSGEN_DEPRECATED #endif #ifndef DDSGEN_DEPRECATED_NO_EXPORT # define DDSGEN_DEPRECATED_NO_EXPORT DDSGEN_NO_EXPORT DDSGEN_DEPRECATED #endif /* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */ #if 0 /* DEFINE_NO_DEPRECATED */ # ifndef DDSGEN_NO_DEPRECATED # define DDSGEN_NO_DEPRECATED # endif #endif #endif /* DDSGEN_EXPORT_H */