From: Pierre Joye Date: Wed, 27 Jan 2010 07:48:31 +0000 (+0000) Subject: - #50854, fix build on non windows X-Git-Tag: php-5.4.0alpha1~191^2~2032 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f13ece5f306e672fadd73ac63202a2c3603571b2;p=php - #50854, fix build on non windows --- diff --git a/main/php.h b/main/php.h index 44d6c51d94..da208e48e0 100644 --- a/main/php.h +++ b/main/php.h @@ -305,8 +305,10 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c /* PHPAPI void php_error(int type, const char *format, ...); */ PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...); PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...); +#ifdef PHP_WIN32 PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...); PHPAPI void php_win32_docref2_from_error(DWORD error, const char *param1, const char *param2 TSRMLS_DC); +#endif END_EXTERN_C() #define php_error_docref php_error_docref0