summaryrefslogtreecommitdiffstats
path: root/src/poppler-1-win32.patch
diff options
context:
space:
mode:
authorSaikrishna Arcot <saiarcot895@gmail.com>2016-12-27 00:58:03 (GMT)
committerSaikrishna Arcot <saiarcot895@gmail.com>2016-12-28 01:31:48 (GMT)
commit25a990a653a7b15420e98aeceadfd97e526fea3d (patch)
tree99e1b7912b363278ad6e63c69ace4e1eda4558a5 /src/poppler-1-win32.patch
parent759b46f806fb9984c0cd529480a7f852756280bd (diff)
downloadmxe-25a990a653a7b15420e98aeceadfd97e526fea3d.zip
mxe-25a990a653a7b15420e98aeceadfd97e526fea3d.tar.gz
mxe-25a990a653a7b15420e98aeceadfd97e526fea3d.tar.bz2
Update poppler.
Diffstat (limited to 'src/poppler-1-win32.patch')
-rw-r--r--src/poppler-1-win32.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/poppler-1-win32.patch b/src/poppler-1-win32.patch
index 8037264..744379b 100644
--- a/src/poppler-1-win32.patch
+++ b/src/poppler-1-win32.patch
@@ -98,6 +98,19 @@ index 1111111..2222222 100644
# define _POPPLER_QT4_LIB_EXPORT __declspec(dllexport)
# define _POPPLER_QT4_LIB_IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
+diff --git a/qt5/src/poppler-export.h b/qt5/src/poppler-export.h
+index 1111111..2222222 100644
+--- a/qt5/src/poppler-export.h
++++ b/qt5/src/poppler-export.h
+@@ -2,7 +2,7 @@
+ * This file is used to set the poppler_qt4_EXPORT macros right.
+ * This is needed for setting the visibility on windows, it will have no effect on other platforms.
+ */
+-#if defined(_WIN32)
++#if defined(_WIN32) && defined(DLL_EXPORT)
+ # define _POPPLER_QT5_LIB_EXPORT __declspec(dllexport)
+ # define _POPPLER_QT5_LIB_IMPORT __declspec(dllimport)
+ #elif defined(__GNUC__)
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>