Commit 9bc0b2d79fac6b987704bbd0b403c40aa2555f70

Authored by Jay Berkenbilt
Committed by GitHub
2 parents 0a9ef286 9fea88dc

Merge pull request #1414 from outtersg/main

CMake: correctly detect that timezone is not an int
Showing 1 changed file with 1 additions and 1 deletions
libqpdf/CMakeLists.txt
@@ -328,7 +328,7 @@ check_c_source_compiles( @@ -328,7 +328,7 @@ check_c_source_compiles(
328 #include <stdio.h> 328 #include <stdio.h>
329 int main(int argc, char* argv[]) { 329 int main(int argc, char* argv[]) {
330 tzset(); 330 tzset();
331 - printf(\"%ld\", timezone); 331 + printf(\"%ld\", timezone / 60);
332 return 0; 332 return 0;
333 }" 333 }"
334 HAVE_EXTERN_LONG_TIMEZONE) 334 HAVE_EXTERN_LONG_TIMEZONE)