diff options
Diffstat (limited to 'src/core/printing/pdfium_document_wrapper_qt.cpp')
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/core/printing/pdfium_document_wrapper_qt.cpp b/src/core/printing/pdfium_document_wrapper_qt.cpp index ca1e8cd07..a7433b2cc 100644 --- a/src/core/printing/pdfium_document_wrapper_qt.cpp +++ b/src/core/printing/pdfium_document_wrapper_qt.cpp @@ -37,11 +37,8 @@ ** ****************************************************************************/ #include "pdf/features.h" -#if BUILDFLAG(ENABLE_PDF) -#define ENABLE_PDF -#endif -#if defined(ENABLE_PDF) +#if BUILDFLAG(ENABLE_PDF) #include "pdfium_document_wrapper_qt.h" #include <QtCore/qhash.h> @@ -168,4 +165,4 @@ PdfiumDocumentWrapperQt::~PdfiumDocumentWrapperQt() } } -#endif // defined (ENABLE_PDF) +#endif // BUILDFLAG(ENABLE_PDF) |