aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/GpgFrontendCoreExport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/GpgFrontendCoreExport.h')
-rw-r--r--src/core/GpgFrontendCoreExport.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/core/GpgFrontendCoreExport.h b/src/core/GpgFrontendCoreExport.h
new file mode 100644
index 00000000..1422bddb
--- /dev/null
+++ b/src/core/GpgFrontendCoreExport.h
@@ -0,0 +1,42 @@
+
+#ifndef GPGFRONTEND_CORE_EXPORT_H
+#define GPGFRONTEND_CORE_EXPORT_H
+
+#ifdef GPGFRONTEND_CORE_STATIC_DEFINE
+# define GPGFRONTEND_CORE_EXPORT
+# define GPGFRONTEND_CORE_NO_EXPORT
+#else
+# ifndef GPGFRONTEND_CORE_EXPORT
+# ifdef gpgfrontend_core_EXPORTS
+ /* We are building this library */
+# define GPGFRONTEND_CORE_EXPORT __attribute__((visibility("default")))
+# else
+ /* We are using this library */
+# define GPGFRONTEND_CORE_EXPORT __attribute__((visibility("default")))
+# endif
+# endif
+
+# ifndef GPGFRONTEND_CORE_NO_EXPORT
+# define GPGFRONTEND_CORE_NO_EXPORT __attribute__((visibility("hidden")))
+# endif
+#endif
+
+#ifndef GPGFRONTEND_CORE_DEPRECATED
+# define GPGFRONTEND_CORE_DEPRECATED __attribute__ ((__deprecated__))
+#endif
+
+#ifndef GPGFRONTEND_CORE_DEPRECATED_EXPORT
+# define GPGFRONTEND_CORE_DEPRECATED_EXPORT GPGFRONTEND_CORE_EXPORT GPGFRONTEND_CORE_DEPRECATED
+#endif
+
+#ifndef GPGFRONTEND_CORE_DEPRECATED_NO_EXPORT
+# define GPGFRONTEND_CORE_DEPRECATED_NO_EXPORT GPGFRONTEND_CORE_NO_EXPORT GPGFRONTEND_CORE_DEPRECATED
+#endif
+
+#if 0 /* DEFINE_NO_DEPRECATED */
+# ifndef GPGFRONTEND_CORE_NO_DEPRECATED
+# define GPGFRONTEND_CORE_NO_DEPRECATED
+# endif
+#endif
+
+#endif /* GPGFRONTEND_CORE_EXPORT_H */