mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix redefine warnings
This commit is contained in:
parent
4be4a38d99
commit
9507d14584
1 changed files with 15 additions and 0 deletions
|
@ -35,6 +35,21 @@
|
|||
#if HAVE_IMAP
|
||||
|
||||
#if defined(HAVE_IMAP2000) || defined(HAVE_IMAP2001)
|
||||
|
||||
/* For now these appear on Windows, remove this check if it appears outside */
|
||||
# ifdef PHP_WIN32
|
||||
/* Undefine these LOG defines to avoid warnings */
|
||||
# undef LOG_EMERG
|
||||
# undef LOG_CRIT
|
||||
# undef LOG_ERR
|
||||
# undef LOG_WARNING
|
||||
# undef LOG_NOTICE
|
||||
# undef LOG_DEBUG
|
||||
|
||||
/* c-client also redefines its own ftruncate */
|
||||
# undef ftruncate
|
||||
# endif
|
||||
|
||||
/* these are used for quota support */
|
||||
# include "c-client.h" /* includes mail.h and rfc822.h */
|
||||
# include "imap4r1.h" /* location of c-client quota functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue