51 lines
1.3 KiB
Groff
51 lines
1.3 KiB
Groff
|
--- poppler-0.22.5/poppler/Catalog.cc 2013-06-09 12:16:12.000000000 +0200
|
||
|
+++ poppler-0.22.5/poppler/Catalog.cc 2013-07-08 16:54:30.712095880 +0200
|
||
|
@@ -40,6 +40,14 @@
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdlib.h>
|
||
|
+#ifdef _WIN32
|
||
|
+# ifdef __MINGW32__
|
||
|
+# define _SNPRINTF_DLLIMPORT
|
||
|
+# endif
|
||
|
+# ifdef _MSC_VER
|
||
|
+# include <systools/win32/snprintf.h>
|
||
|
+# endif
|
||
|
+#endif
|
||
|
#include "goo/gmem.h"
|
||
|
#include "Object.h"
|
||
|
#include "PDFDoc.h"
|
||
|
--- poppler-0.22.5/poppler/GlobalParams.cc 2013-03-25 22:48:34.000000000 +0100
|
||
|
+++ poppler-0.22.5/poppler/GlobalParams.cc 2013-07-08 16:55:04.753303654 +0200
|
||
|
@@ -57,6 +57,12 @@
|
||
|
#ifdef _WIN32
|
||
|
# include <shlobj.h>
|
||
|
# include <mbstring.h>
|
||
|
+# ifdef __MINGW32__
|
||
|
+# define _SNPRINTF_DLLIMPORT
|
||
|
+# endif
|
||
|
+# ifdef _MSC_VER
|
||
|
+# include <systools/win32/snprintf.h>
|
||
|
+# endif
|
||
|
#endif
|
||
|
#include "goo/gmem.h"
|
||
|
#include "goo/GooString.h"
|
||
|
--- poppler-0.22.5/poppler/PageLabelInfo.cc 2013-03-25 22:48:34.000000000 +0100
|
||
|
+++ poppler-0.22.5/poppler/PageLabelInfo.cc 2013-07-08 16:56:47.977901129 +0200
|
||
|
@@ -17,6 +17,14 @@
|
||
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
#include <assert.h>
|
||
|
+#ifdef _WIN32
|
||
|
+# ifdef __MINGW32__
|
||
|
+# define _SNPRINTF_DLLIMPORT
|
||
|
+# endif
|
||
|
+# ifdef _MSC_VER
|
||
|
+# include <systools/win32/snprintf.h>
|
||
|
+# endif
|
||
|
+#endif
|
||
|
|
||
|
#include "PageLabelInfo.h"
|
||
|
|
||
|
Only in poppler-0.22.5: poppler-snprintf.patch.1
|