summaryrefslogtreecommitdiff
path: root/udp_export.h
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-09-16 12:37:12 +0200
committerChristoph Berg <myon@debian.org>2025-09-16 12:57:29 +0200
commit5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch)
tree4d09343cfe757239895a0dd9b399242d2a07d7c2 /udp_export.h
parent23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff)
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'udp_export.h')
-rwxr-xr-xudp_export.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/udp_export.h b/udp_export.h
new file mode 100755
index 00000000..a4e6efd7
--- /dev/null
+++ b/udp_export.h
@@ -0,0 +1,42 @@
+
+#ifndef UDP_EXPORT_H
+#define UDP_EXPORT_H
+
+#ifdef UDP_STATIC_DEFINE
+# define UDP_EXPORT
+# define UDP_NO_EXPORT
+#else
+# ifndef UDP_EXPORT
+# ifdef wsjtx_udp_static_EXPORTS
+ /* We are building this library */
+# define UDP_EXPORT
+# else
+ /* We are using this library */
+# define UDP_EXPORT
+# endif
+# endif
+
+# ifndef UDP_NO_EXPORT
+# define UDP_NO_EXPORT
+# endif
+#endif
+
+#ifndef UDP_DEPRECATED
+# define UDP_DEPRECATED
+#endif
+
+#ifndef UDP_DEPRECATED_EXPORT
+# define UDP_DEPRECATED_EXPORT UDP_EXPORT UDP_DEPRECATED
+#endif
+
+#ifndef UDP_DEPRECATED_NO_EXPORT
+# define UDP_DEPRECATED_NO_EXPORT UDP_NO_EXPORT UDP_DEPRECATED
+#endif
+
+#if 0 /* DEFINE_NO_DEPRECATED */
+# ifndef UDP_NO_DEPRECATED
+# define UDP_NO_DEPRECATED
+# endif
+#endif
+
+#endif /* UDP_EXPORT_H */