summaryrefslogtreecommitdiff
path: root/src/pdf_formatter.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-23 22:46:27 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-23 22:56:56 +0200
commitbb928b5f70520e8edc79c3af280bf1a3b55caf78 (patch)
treec1d4cb82266efc1e0bcd7aac76d7689dbd442e55 /src/pdf_formatter.cc
parent5f090b58fc2a7742c3a924387416fa628f39477d (diff)
Build fixes for 32-bit Windows.v1.10.29
Diffstat (limited to 'src/pdf_formatter.cc')
-rw-r--r--src/pdf_formatter.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdf_formatter.cc b/src/pdf_formatter.cc
index 5eb1772c..0ec77c4b 100644
--- a/src/pdf_formatter.cc
+++ b/src/pdf_formatter.cc
@@ -39,6 +39,9 @@ float constexpr vertical_margin = 1.0;
static
void
+#ifdef LIBDCP_WINDOWS
+__stdcall
+#endif
error_handler(HPDF_STATUS error, HPDF_STATUS detail, void*)
{
throw MiscError(fmt::format("Could not create PDF {} {}", error, detail));