summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Öhrn <ohrn@php.net>2001-03-18 18:45:21 +0000
committerFredrik Öhrn <ohrn@php.net>2001-03-18 18:45:21 +0000
commit3ab749ce27193561a5d02ba78e18d24e9a44bfa4 (patch)
treeb909e4a9b530305d70a0e9bd890009717c3d39a8
parent5fe65aa136342ed0364932326cca5c57995973d4 (diff)
downloadphp-git-3ab749ce27193561a5d02ba78e18d24e9a44bfa4.tar.gz
Solved compile failure due to clash between IMAP and ClibPDF headers.
-rw-r--r--ext/cpdf/php_cpdf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/cpdf/php_cpdf.h b/ext/cpdf/php_cpdf.h
index 9c44e513ad..6749882d24 100644
--- a/ext/cpdf/php_cpdf.h
+++ b/ext/cpdf/php_cpdf.h
@@ -33,6 +33,13 @@
#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>
extern zend_module_entry cpdf_module_entry;