aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/PCRE.hh
diff options
context:
space:
mode:
Diffstat (limited to 'libqpdf/qpdf/PCRE.hh')
-rw-r--r--libqpdf/qpdf/PCRE.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/libqpdf/qpdf/PCRE.hh b/libqpdf/qpdf/PCRE.hh
index a226aa19..deba8733 100644
--- a/libqpdf/qpdf/PCRE.hh
+++ b/libqpdf/qpdf/PCRE.hh
@@ -5,6 +5,9 @@
#ifndef __PCRE_HH__
#define __PCRE_HH__
+#ifdef _WIN32
+# define PCRE_STATIC
+#endif
#include <pcre.h>
#include <string>