summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
authorFredrik Öhrn <ohrn@php.net>2001-03-18 18:32:58 +0000
committerFredrik Öhrn <ohrn@php.net>2001-03-18 18:32:58 +0000
commit00d81acc4f87931f9a071434b46b78791d4a482d (patch)
tree459ff0c9a9726a25b0d4cd129af78307cf26a4a0 /ext/cpdf
parent4759855606294ba5cb467047f885a5c3d8be7451 (diff)
downloadphp-git-00d81acc4f87931f9a071434b46b78791d4a482d.tar.gz
Solved compile failure due to clash bewteen IMAP and ClibPDF headers.
Diffstat (limited to 'ext/cpdf')
-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;