cvs: php4(PHP_4_0_5) /ext/cpdf php_cpdf.h
| From: | Fredrik �hrn | Date: | Sun, 18 Mar 2001 18:45:25 +0000 |
| Subject: | cvs: php4(PHP_4_0_5) /ext/cpdf php_cpdf.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4643@lists.php.net to get a copy of this message | ||
ohrn Sun Mar 18 10:45:25 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/cpdf php_cpdf.h
Log:
Solved compile failure due to clash between IMAP and ClibPDF headers.
Index: php4/ext/cpdf/php_cpdf.h
diff -u php4/ext/cpdf/php_cpdf.h:1.6 php4/ext/cpdf/php_cpdf.h:1.6.4.1
--- php4/ext/cpdf/php_cpdf.h:1.6 Sun Jul 2 16:46:38 2000
+++ php4/ext/cpdf/php_cpdf.h Sun Mar 18 10:45:21 2001
@@ -26,12 +26,19 @@
| Authors: Uwe Steinmann |
+----------------------------------------------------------------------+
*/
-/* $Id: php_cpdf.h,v 1.6 2000/07/02 23:46:38 sas Exp $ */
+/* $Id: php_cpdf.h,v 1.6.4.1 2001/03/18 18:45:21 ohrn Exp $ */
#ifndef PHP_CPDF_H
#define PHP_CPDF_H
#if HAVE_CPDFLIB
+
+/* The macro T is defined in the IMAP headers and clashes with a function
+ declaration here. Get rid of it. */
+
+#ifdef T
+#undef T
+#endif
#include <cpdflib.h>