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)
/* This function is not directly accessible to end users */
-PHP_FUNCTION(warn_not_available)
+PHPAPI PHP_FUNCTION(warn_not_available)
{
php_error(E_WARNING, "%s() is not supported in this PHP build", get_active_function_name());
RETURN_FALSE;
PHP_FUNCTION(extension_loaded);
PHP_FUNCTION(get_extension_funcs);
-PHP_FUNCTION(warn_not_available);
/* From the INI parser */
PHP_FUNCTION(parse_ini_file);
#define XtOffsetOf(s_type,field) XtOffset(s_type*,field)
#endif
-PHP_FUNCTION(warn_not_available);
+PHPAPI PHP_FUNCTION(warn_not_available);
#endif