43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
|
|
#ifndef ONIXS_CMEMDH_EXPORTED_H
|
|
#define ONIXS_CMEMDH_EXPORTED_H
|
|
|
|
#ifdef ONIXS_CMEMDH_AS_STATIC
|
|
# define ONIXS_CMEMDH_EXPORTED
|
|
# define ONIXS_CMEMDH_INTERNAL
|
|
#else
|
|
# ifndef ONIXS_CMEMDH_EXPORTED
|
|
# ifdef cmemdh_EXPORTS
|
|
/* We are building this library */
|
|
# define ONIXS_CMEMDH_EXPORTED __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define ONIXS_CMEMDH_EXPORTED __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef ONIXS_CMEMDH_INTERNAL
|
|
# define ONIXS_CMEMDH_INTERNAL __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef ONIXS_CMEMDH_DEPRECATED
|
|
# define ONIXS_CMEMDH_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef ONIXS_CMEMDH_DEPRECATED_EXPORT
|
|
# define ONIXS_CMEMDH_DEPRECATED_EXPORT ONIXS_CMEMDH_EXPORTED ONIXS_CMEMDH_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef ONIXS_CMEMDH_DEPRECATED_NO_EXPORT
|
|
# define ONIXS_CMEMDH_DEPRECATED_NO_EXPORT ONIXS_CMEMDH_INTERNAL ONIXS_CMEMDH_DEPRECATED
|
|
#endif
|
|
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef ONIXS_CMEMDH_NO_DEPRECATED
|
|
# define ONIXS_CMEMDH_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* ONIXS_CMEMDH_EXPORTED_H */
|