RabbitCommon v2.2.6
Loading...
Searching...
No Matches
rabbitcommon_export_linux.h
1
2#ifndef RABBITCOMMON_EXPORT_LINUX_H
3#define RABBITCOMMON_EXPORT_LINUX_H
4
5#ifdef RABBITCOMMON_STATIC_DEFINE
6# define RABBITCOMMON_EXPORT
7# define RABBITCOMMON_NO_EXPORT
8#else
9# ifndef RABBITCOMMON_EXPORT
10# ifdef RABBITCOMMON_EXPORTS
11 /* We are building this library */
12# define RABBITCOMMON_EXPORT __attribute__((visibility("default")))
13# else
14 /* We are using this library */
15# define RABBITCOMMON_EXPORT __attribute__((visibility("default")))
16# endif
17# endif
18
19# ifndef RABBITCOMMON_NO_EXPORT
20# define RABBITCOMMON_NO_EXPORT __attribute__((visibility("hidden")))
21# endif
22#endif
23
24#ifndef RABBITCOMMON_DEPRECATED
25# define RABBITCOMMON_DEPRECATED __attribute__ ((__deprecated__))
26#endif
27
28#ifndef RABBITCOMMON_DEPRECATED_EXPORT
29# define RABBITCOMMON_DEPRECATED_EXPORT RABBITCOMMON_EXPORT RABBITCOMMON_DEPRECATED
30#endif
31
32#ifndef RABBITCOMMON_DEPRECATED_NO_EXPORT
33# define RABBITCOMMON_DEPRECATED_NO_EXPORT RABBITCOMMON_NO_EXPORT RABBITCOMMON_DEPRECATED
34#endif
35
36#if 0 /* DEFINE_NO_DEPRECATED */
37# ifndef RABBITCOMMON_NO_DEPRECATED
38# define RABBITCOMMON_NO_DEPRECATED
39# endif
40#endif
41
42#endif //RABBITCOMMON_EXPORT_LINUX_H