diff options
Diffstat (limited to 'src/pdf_formatter.cc')
| -rw-r--r-- | src/pdf_formatter.cc | 3 |
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)); |
