summaryrefslogtreecommitdiffstats
path: root/external/pdfium/visibility.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/pdfium/visibility.patch.1')
-rw-r--r--external/pdfium/visibility.patch.116
1 files changed, 8 insertions, 8 deletions
diff --git a/external/pdfium/visibility.patch.1 b/external/pdfium/visibility.patch.1
index 0223aab96bd1..04e89b38ab10 100644
--- a/external/pdfium/visibility.patch.1
+++ b/external/pdfium/visibility.patch.1
@@ -10,21 +10,21 @@ index 1ff0aeb26..f48036f2b 100644
-// On Windows system, functions are exported in a DLL
+#if defined(PDFIUM_DLLIMPLEMENTATION)
+#ifdef _WIN32
- #define DLLEXPORT __declspec(dllexport)
--#define STDCALL __stdcall
+ #define FPDF_EXPORT __declspec(dllexport)
+-#define FPDF_CALLCONV __stdcall
#else
--#define DLLEXPORT
--#define STDCALL
-+#define DLLEXPORT __attribute__ ((visibility("default")))
+-#define FPDF_EXPORT
+-#define FPDF_CALLCONV
++#define FPDF_EXPORT __attribute__ ((visibility("default")))
+#endif
+#else
+#ifdef _WIN32
-+#define DLLEXPORT __declspec(dllimport)
++#define FPDF_EXPORT __declspec(dllimport)
+#else
-+#define DLLEXPORT __attribute__ ((visibility("default")))
++#define FPDF_EXPORT __attribute__ ((visibility("default")))
#endif
+#endif
-+#define STDCALL
++#define FPDF_CALLCONV
// Exported Functions
#ifdef __cplusplus