44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
|
|
#ifndef RSCCOMMON_EXPORT_H
|
|
#define RSCCOMMON_EXPORT_H
|
|
|
|
#ifdef RSCCOMMON_STATIC_DEFINE
|
|
# define RSCCOMMON_EXPORT
|
|
# define RSCCOMMON_NO_EXPORT
|
|
#else
|
|
# ifndef RSCCOMMON_EXPORT
|
|
# ifdef rscCommon_EXPORTS
|
|
/* We are building this library */
|
|
# define RSCCOMMON_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define RSCCOMMON_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef RSCCOMMON_NO_EXPORT
|
|
# define RSCCOMMON_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef RSCCOMMON_DEPRECATED
|
|
# define RSCCOMMON_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef RSCCOMMON_DEPRECATED_EXPORT
|
|
# define RSCCOMMON_DEPRECATED_EXPORT RSCCOMMON_EXPORT RSCCOMMON_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef RSCCOMMON_DEPRECATED_NO_EXPORT
|
|
# define RSCCOMMON_DEPRECATED_NO_EXPORT RSCCOMMON_NO_EXPORT RSCCOMMON_DEPRECATED
|
|
#endif
|
|
|
|
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef RSCCOMMON_NO_DEPRECATED
|
|
# define RSCCOMMON_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* RSCCOMMON_EXPORT_H */
|