We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be4a38 commit 9507d14Copy full SHA for 9507d14
ext/imap/php_imap.h
@@ -35,6 +35,21 @@
35
#if HAVE_IMAP
36
37
#if defined(HAVE_IMAP2000) || defined(HAVE_IMAP2001)
38
+
39
+ /* For now these appear on Windows, remove this check if it appears outside */
40
+# ifdef PHP_WIN32
41
+ /* Undefine these LOG defines to avoid warnings */
42
+# undef LOG_EMERG
43
+# undef LOG_CRIT
44
+# undef LOG_ERR
45
+# undef LOG_WARNING
46
+# undef LOG_NOTICE
47
+# undef LOG_DEBUG
48
49
+ /* c-client also redefines its own ftruncate */
50
+# undef ftruncate
51
+# endif
52
53
/* these are used for quota support */
54
# include "c-client.h" /* includes mail.h and rfc822.h */
55
# include "imap4r1.h" /* location of c-client quota functions */
0 commit comments