]> granicus.if.org Git - php/commitdiff
- Let it also work with pdflib 3 again
authorDerick Rethans <derick@php.net>
Thu, 8 Nov 2001 23:37:34 +0000 (23:37 +0000)
committerDerick Rethans <derick@php.net>
Thu, 8 Nov 2001 23:37:34 +0000 (23:37 +0000)
ext/pdf/pdf.c
ext/pdf/php_pdf.h

index 83d379c3b05bfcd501cdc201c87b355873156d64..e887295ecb97147be9406db23d55cccb08e3484e 100644 (file)
@@ -52,8 +52,8 @@ static int le_gd;
 #endif
 /* }}} */
 
-#if HAVE_PDFLIB
-
+#if HAVE_PDFLIB || HAVE_PDFLIB3
+#warning boo
 #include "php_pdf.h"
 
 static int le_pdf;
index bf55817368d2d1a3c7e63292dc016de399b2663f..93f148ead047f764519ff6064bceed1ed8df9cc4 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef PHP_PDF_H
 #define PHP_PDF_H
 
-#if HAVE_PDFLIB
+#if HAVE_PDFLIB || HAVE_PDFLIB3
 
 /* with version 2.20 of pdflib PDF_open_mem isn't available unless
    the following define isn't there.