From 03552739a130af485fabbc79ef33d3072bf400b6 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sun, 1 Oct 2017 19:09:28 +1030 Subject: [PATCH 10/11] We always have config.h so drop the macro --- CMakeLists.txt | 1 - poppler/CairoRescaleBox.cc | 2 -- 2 files changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa24ea95..092c3806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,7 +264,6 @@ if(ENABLE_LIBCURL) endif() endif() -add_definitions(-DHAVE_CONFIG_H=1) if(MINGW) # Use mingw's ansi stdio extensions add_definitions(-D__USE_MINGW_ANSI_STDIO=1) diff --git a/poppler/CairoRescaleBox.cc b/poppler/CairoRescaleBox.cc index d30c9f7f..391466ab 100644 --- a/poppler/CairoRescaleBox.cc +++ b/poppler/CairoRescaleBox.cc @@ -41,9 +41,7 @@ /* This implements a box filter that supports non-integer box sizes */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include -- 2.11.0