ctai/3rdparty/cmark-gfm/include/cmark-gfm_export.h
2025-03-05 18:28:16 +08:00

44 lines
1.0 KiB
C

#ifndef CMARK_GFM_EXPORT_H
#define CMARK_GFM_EXPORT_H
#ifdef CMARK_GFM_STATIC_DEFINE
# define CMARK_GFM_EXPORT
# define CMARK_GFM_NO_EXPORT
#else
# ifndef CMARK_GFM_EXPORT
# ifdef libcmark_gfm_static_EXPORTS
/* We are building this library */
# define CMARK_GFM_EXPORT
# else
/* We are using this library */
# define CMARK_GFM_EXPORT
# endif
# endif
# ifndef CMARK_GFM_NO_EXPORT
# define CMARK_GFM_NO_EXPORT
# endif
#endif
#ifndef CMARK_GFM_DEPRECATED
# define CMARK_GFM_DEPRECATED __declspec(deprecated)
#endif
#ifndef CMARK_GFM_DEPRECATED_EXPORT
# define CMARK_GFM_DEPRECATED_EXPORT CMARK_GFM_EXPORT CMARK_GFM_DEPRECATED
#endif
#ifndef CMARK_GFM_DEPRECATED_NO_EXPORT
# define CMARK_GFM_DEPRECATED_NO_EXPORT CMARK_GFM_NO_EXPORT CMARK_GFM_DEPRECATED
#endif
/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef CMARK_GFM_NO_DEPRECATED
# define CMARK_GFM_NO_DEPRECATED
# endif
#endif
#endif /* CMARK_GFM_EXPORT_H */