-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmark-gfm_export.h
42 lines (34 loc) · 1.06 KB
/
cmark-gfm_export.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#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_EXPORTS
/* We are building this library */
# define CMARK_GFM_EXPORT __attribute__((visibility("default")))
# else
/* We are using this library */
# define CMARK_GFM_EXPORT __attribute__((visibility("default")))
# endif
# endif
# ifndef CMARK_GFM_NO_EXPORT
# define CMARK_GFM_NO_EXPORT __attribute__((visibility("hidden")))
# endif
#endif
#ifndef CMARK_GFM_DEPRECATED
# define CMARK_GFM_DEPRECATED __attribute__ ((__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
#if 0 /* DEFINE_NO_DEPRECATED */
# ifndef CMARK_GFM_NO_DEPRECATED
# define CMARK_GFM_NO_DEPRECATED
# endif
#endif
#endif /* CMARK_GFM_EXPORT_H */