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