mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 19:04:25 -05:00
43 lines
965 B
C
43 lines
965 B
C
|
|
#ifndef CMARK_EXPORT_H
|
|
#define CMARK_EXPORT_H
|
|
|
|
#ifdef CMARK_STATIC_DEFINE
|
|
# define CMARK_EXPORT
|
|
# define CMARK_NO_EXPORT
|
|
#else
|
|
# ifndef CMARK_EXPORT
|
|
# ifdef libcmark_EXPORTS
|
|
/* We are building this library */
|
|
# define CMARK_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
/* We are using this library */
|
|
# define CMARK_EXPORT __attribute__((visibility("default")))
|
|
# endif
|
|
# endif
|
|
|
|
# ifndef CMARK_NO_EXPORT
|
|
# define CMARK_NO_EXPORT __attribute__((visibility("hidden")))
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef CMARK_DEPRECATED
|
|
# define CMARK_DEPRECATED __attribute__ ((__deprecated__))
|
|
#endif
|
|
|
|
#ifndef CMARK_DEPRECATED_EXPORT
|
|
# define CMARK_DEPRECATED_EXPORT CMARK_EXPORT CMARK_DEPRECATED
|
|
#endif
|
|
|
|
#ifndef CMARK_DEPRECATED_NO_EXPORT
|
|
# define CMARK_DEPRECATED_NO_EXPORT CMARK_NO_EXPORT CMARK_DEPRECATED
|
|
#endif
|
|
|
|
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
# ifndef CMARK_NO_DEPRECATED
|
|
# define CMARK_NO_DEPRECATED
|
|
# endif
|
|
#endif
|
|
|
|
#endif
|