|
|
f43be0 |
# HG changeset patch
|
|
|
f43be0 |
# User Rob Lemley <rob@thunderbird.net>
|
|
|
f43be0 |
# Date 1663866531 14400
|
|
|
f43be0 |
# Thu Sep 22 13:08:51 2022 -0400
|
|
|
f43be0 |
# Node ID a863c22903a3fa4c71360920ed77ac31f1fa5d01
|
|
|
f43be0 |
# Parent 3625a887f020a9a3cb3ad96e5107bfeacd54386e
|
|
|
f43be0 |
Bug 1790116 - Update rnp_export.h. r=kaie
|
|
|
f43be0 |
|
|
|
f43be0 |
The CMake code that generates this file changed with RNP 0.16. The local copy
|
|
|
f43be0 |
needs to be regenerated.
|
|
|
f43be0 |
|
|
|
f43be0 |
File generated with CMake using clang.
|
|
|
f43be0 |
|
|
|
f43be0 |
Differential Revision: https://phabricator.services.mozilla.com/D157053
|
|
|
f43be0 |
|
|
|
f43be0 |
diff --git a/comm/third_party/rnp/src/lib/rnp/rnp_export.h b/third_party/rnp/src/lib/comm/rnp/rnp_export.h
|
|
|
f43be0 |
--- a/comm/third_party/rnp/src/lib/rnp/rnp_export.h
|
|
|
f43be0 |
+++ b/comm/third_party/rnp/src/lib/rnp/rnp_export.h
|
|
|
f43be0 |
@@ -1,42 +1,42 @@
|
|
|
f43be0 |
|
|
|
f43be0 |
-#ifndef RNP_API_H
|
|
|
f43be0 |
-#define RNP_API_H
|
|
|
f43be0 |
+#ifndef RNP_EXPORT
|
|
|
f43be0 |
+#define RNP_EXPORT
|
|
|
f43be0 |
|
|
|
f43be0 |
#ifdef RNP_STATIC
|
|
|
f43be0 |
# define RNP_API
|
|
|
f43be0 |
-# define RNP_RNP_NO_EXPORT
|
|
|
f43be0 |
+# define RNP_NO_EXPORT
|
|
|
f43be0 |
#else
|
|
|
f43be0 |
# ifndef RNP_API
|
|
|
f43be0 |
# ifdef librnp_EXPORTS
|
|
|
f43be0 |
/* We are building this library */
|
|
|
f43be0 |
-# define RNP_API __attribute__((visibility("default")))
|
|
|
f43be0 |
+# define RNP_API
|
|
|
f43be0 |
# else
|
|
|
f43be0 |
/* We are using this library */
|
|
|
f43be0 |
-# define RNP_API __attribute__((visibility("default")))
|
|
|
f43be0 |
+# define RNP_API
|
|
|
f43be0 |
# endif
|
|
|
f43be0 |
# endif
|
|
|
f43be0 |
|
|
|
f43be0 |
-# ifndef RNP_RNP_NO_EXPORT
|
|
|
f43be0 |
-# define RNP_RNP_NO_EXPORT __attribute__((visibility("hidden")))
|
|
|
f43be0 |
+# ifndef RNP_NO_EXPORT
|
|
|
f43be0 |
+# define RNP_NO_EXPORT
|
|
|
f43be0 |
# endif
|
|
|
f43be0 |
#endif
|
|
|
f43be0 |
|
|
|
f43be0 |
-#ifndef RNP_RNP_DEPRECATED
|
|
|
f43be0 |
-# define RNP_RNP_DEPRECATED __attribute__ ((__deprecated__))
|
|
|
f43be0 |
+#ifndef RNP_DEPRECATED
|
|
|
f43be0 |
+# define RNP_DEPRECATED __attribute__ ((__deprecated__))
|
|
|
f43be0 |
#endif
|
|
|
f43be0 |
|
|
|
f43be0 |
-#ifndef RNP_RNP_DEPRECATED_EXPORT
|
|
|
f43be0 |
-# define RNP_RNP_DEPRECATED_EXPORT RNP_API RNP_RNP_DEPRECATED
|
|
|
f43be0 |
+#ifndef RNP_DEPRECATED_EXPORT
|
|
|
f43be0 |
+# define RNP_DEPRECATED_EXPORT RNP_API RNP_DEPRECATED
|
|
|
f43be0 |
#endif
|
|
|
f43be0 |
|
|
|
f43be0 |
-#ifndef RNP_RNP_DEPRECATED_NO_EXPORT
|
|
|
f43be0 |
-# define RNP_RNP_DEPRECATED_NO_EXPORT RNP_RNP_NO_EXPORT RNP_RNP_DEPRECATED
|
|
|
f43be0 |
+#ifndef RNP_DEPRECATED_NO_EXPORT
|
|
|
f43be0 |
+# define RNP_DEPRECATED_NO_EXPORT RNP_NO_EXPORT RNP_DEPRECATED
|
|
|
f43be0 |
#endif
|
|
|
f43be0 |
|
|
|
f43be0 |
#if 0 /* DEFINE_NO_DEPRECATED */
|
|
|
f43be0 |
-# ifndef RNP_RNP_NO_DEPRECATED
|
|
|
f43be0 |
-# define RNP_RNP_NO_DEPRECATED
|
|
|
f43be0 |
+# ifndef RNP_NO_DEPRECATED
|
|
|
f43be0 |
+# define RNP_NO_DEPRECATED
|
|
|
f43be0 |
# endif
|
|
|
f43be0 |
#endif
|
|
|
f43be0 |
|
|
|
f43be0 |
-#endif /* RNP_API_H */
|
|
|
f43be0 |
+#endif /* RNP_EXPORT */
|