summaryrefslogtreecommitdiff
path: root/ext/pdf/php_pdf.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdf/php_pdf.h')
-rw-r--r--ext/pdf/php_pdf.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/pdf/php_pdf.h b/ext/pdf/php_pdf.h
index 93f148ead0..2e7dd7ba55 100644
--- a/ext/pdf/php_pdf.h
+++ b/ext/pdf/php_pdf.h
@@ -21,12 +21,8 @@
#ifndef PHP_PDF_H
#define PHP_PDF_H
-#if HAVE_PDFLIB || HAVE_PDFLIB3
+#if HAVE_PDFLIB
-/* with version 2.20 of pdflib PDF_open_mem isn't available unless
- the following define isn't there.
-*/
-#define PDF_OPEN_MEM_SUPPORTED
#include <pdflib.h>
extern zend_module_entry pdf_module_entry;