]> gitweb.ps.run Git - matrix_esp_thesis/blob - ext/olm/include/olm/olm_export.h
d7197a2433a6533049b42eed9570af381d1ea105
[matrix_esp_thesis] / ext / olm / include / olm / olm_export.h
1
2 #ifndef OLM_EXPORT_H
3 #define OLM_EXPORT_H
4
5 #ifdef OLM_STATIC_DEFINE
6 #  define OLM_EXPORT
7 #  define OLM_NO_EXPORT
8 #else
9 #  ifndef OLM_EXPORT
10 #    ifdef olm_EXPORTS
11         /* We are building this library */
12 #      define OLM_EXPORT 
13 #    else
14         /* We are using this library */
15 #      define OLM_EXPORT 
16 #    endif
17 #  endif
18
19 #  ifndef OLM_NO_EXPORT
20 #    define OLM_NO_EXPORT 
21 #  endif
22 #endif
23
24 #ifndef OLM_DEPRECATED
25 #  define OLM_DEPRECATED __attribute__ ((__deprecated__))
26 #endif
27
28 #ifndef OLM_DEPRECATED_EXPORT
29 #  define OLM_DEPRECATED_EXPORT OLM_EXPORT OLM_DEPRECATED
30 #endif
31
32 #ifndef OLM_DEPRECATED_NO_EXPORT
33 #  define OLM_DEPRECATED_NO_EXPORT OLM_NO_EXPORT OLM_DEPRECATED
34 #endif
35
36 #if 0 /* DEFINE_NO_DEPRECATED */
37 #  ifndef OLM_NO_DEPRECATED
38 #    define OLM_NO_DEPRECATED
39 #  endif
40 #endif
41
42 #endif /* OLM_EXPORT_H */