summaryrefslogtreecommitdiffstats
path: root/external/pdfium/visibility.patch.1
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-08-30 10:06:22 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-08-30 10:55:14 +0200
commit0365ca351aac534d3fc09d22f6a91017525bfef8 (patch)
tree60bc30293c8fd13874ba185d4ed8f6689e451e96 /external/pdfium/visibility.patch.1
parentThis can be const (diff)
downloadcore-0365ca351aac534d3fc09d22f6a91017525bfef8.tar.gz
core-0365ca351aac534d3fc09d22f6a91017525bfef8.zip
pdfium: update to 3196
Change-Id: Ia3bfe918d5dcb52faf3829d59d8a8c3b95e31bbc Reviewed-on: https://gerrit.libreoffice.org/41722 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
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