diff --git a/libqpdf/CMakeLists.txt b/libqpdf/CMakeLists.txt index d351a0c..a00a343 100644 --- a/libqpdf/CMakeLists.txt +++ b/libqpdf/CMakeLists.txt @@ -328,7 +328,7 @@ check_c_source_compiles( #include int main(int argc, char* argv[]) { tzset(); - printf(\"%ld\", timezone); + printf(\"%ld\", timezone / 60); return 0; }" HAVE_EXTERN_LONG_TIMEZONE)