aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-01-11 04:28:15 +0100
committerJay Berkenbilt <ejb@ql.org>2019-01-11 04:35:08 +0100
commit4ecd1df6f2ecb98d388082b154497ed61aa11e18 (patch)
treebf43e8f5869c4c1e0e7f97dcc33a8dab28d7b70f /libqpdf/qpdf
parentd24a120c7ffb4cbfd2dcebe63577d8704442f7bd (diff)
downloadqpdf-4ecd1df6f2ecb98d388082b154497ed61aa11e18.tar.zst
Add configure option AVOID_WINDOWS_HANDLE
If set, we avoid using Windows I/O HANDLE, which is disallowed in some versions of the Windows SDK, such as for Windows phones. QUtil::same_file will always return false in this case. Only applies to Windows builds.
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r--libqpdf/qpdf/qpdf-config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libqpdf/qpdf/qpdf-config.h.in b/libqpdf/qpdf/qpdf-config.h.in
index ccc3e463..e50a00b8 100644
--- a/libqpdf/qpdf/qpdf-config.h.in
+++ b/libqpdf/qpdf/qpdf-config.h.in
@@ -1,5 +1,8 @@
/* libqpdf/qpdf/qpdf-config.h.in. Generated from configure.ac by autoheader. */
+/* Whether to avoid use of HANDLE in Windows */
+#undef AVOID_WINDOWS_HANDLE
+
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H