From e55036a346c3bf60a79f106ce8cce2283299b5cb Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 24 Sep 2006 18:06:37 +0000 Subject: Fixed bug #38941 (imap extension does not compile against new version of the imap library). --- ext/imap/php_imap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/imap/php_imap.c') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index a4e7b7ae0f..05cf6c2b74 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -75,7 +75,11 @@ static char *php_mail_gets(readfn_t f, void *stream, unsigned long size, GETS_DA void rfc822_date(char *date); char *cpystr(const char *str); char *cpytxt(SIZEDTEXT *dst, char *text, unsigned long size); +#ifndef HAVE_NEW_MIME2TEXT long utf8_mime2text(SIZEDTEXT *src, SIZEDTEXT *dst); +#else +long utf8_mime2text (SIZEDTEXT *src, SIZEDTEXT *dst, long flags); +#endif unsigned long find_rightmost_bit(unsigned long *valptr); void fs_give(void **block); void *fs_get(size_t size); -- cgit v1.2.1