From: Fredrik Öhrn Date: Sun, 18 Mar 2001 18:32:58 +0000 (+0000) Subject: Solved compile failure due to clash bewteen IMAP and ClibPDF headers. X-Git-Tag: php-4.0.6RC1~655 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00d81acc4f87931f9a071434b46b78791d4a482d;p=php Solved compile failure due to clash bewteen IMAP and ClibPDF headers. --- 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 extern zend_module_entry cpdf_module_entry;