Description: correct ifdef with multiple tokens
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2025-10-05
Index: gle-graphics-4.3.7/src/gui/serverthread.cpp
===================================================================
--- gle-graphics-4.3.7.orig/src/gui/serverthread.cpp
+++ gle-graphics-4.3.7/src/gui/serverthread.cpp
@@ -233,7 +233,7 @@ void GLERenderThread::renderOutputFromMe
 {
 	QMutexLocker locker(&mutex);
 // poppler only works on linux and macOS for now - even though gle is built with poppler on windows - need to fix
-#ifdef HAVE_POPPLER && ( defined(__unix__) || defined(__APPLE__) )
+#if defined(HAVE_POPPLER) && ( defined(__unix__) || defined(__APPLE__) )
 	string* bytesPDF = script->getRecordedBytesBuffer(GLE_DEVICE_PDF);
 	string* bytesEPS = script->getRecordedBytesBuffer(GLE_DEVICE_EPS);
 	if (!bytesPDF->empty()) {
