summaryrefslogtreecommitdiff
path: root/ext/imap/php_imap.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-08-24 18:49:49 +0000
committerZeev Suraski <zeev@php.net>2000-08-24 18:49:49 +0000
commitc542f9a3f49bafc1a939d9753835f4c805ae3052 (patch)
treecf6b0e031b834d6b128800f09c80dfd84c760152 /ext/imap/php_imap.c
parent3f976008627655a5ffbf95e413d78cb4618ed915 (diff)
downloadphp-git-c542f9a3f49bafc1a939d9753835f4c805ae3052.tar.gz
- Fix IMAP build problem
- Allow external DLLs to use warn_not_available
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r--ext/imap/php_imap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index d1432e7fa8..a808e23a07 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -137,9 +137,9 @@ function_entry imap_functions[] = {
PHP_FE(imap_errors, NULL)
PHP_FE(imap_last_error, NULL)
#ifndef PHP_WIN32
- PHP_FALIAS(imap_mail, warn_not_available, NULL)
-#else
PHP_FE(imap_mail, NULL)
+#else
+ PHP_FALIAS(imap_mail, warn_not_available, NULL)
#endif
PHP_FE(imap_search, NULL)
PHP_FE(imap_utf7_decode, NULL)