From 4c823e8a895632382de841055fa961ec760d086c Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Mon, 30 Apr 2001 12:45:02 +0000 Subject: - Change macros from V_ to VCWD_ because of AIX name clash --- ext/ftp/php_ftp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/ftp/php_ftp.c') diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index 8f74068eac..2dcbdbda3e 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -592,9 +592,9 @@ PHP_FUNCTION(ftp_get) } #ifdef PHP_WIN32 - if ((outfp = V_FOPEN(Z_STRVAL_P(arg2), "wb")) == NULL) { + if ((outfp = VCWD_FOPEN(Z_STRVAL_P(arg2), "wb")) == NULL) { #else - if ((outfp = V_FOPEN(Z_STRVAL_P(arg2), "w")) == NULL) { + if ((outfp = VCWD_FOPEN(Z_STRVAL_P(arg2), "w")) == NULL) { #endif fclose(tmpfp); php_error(E_WARNING, "error opening %s", Z_STRVAL_P(arg2)); @@ -680,9 +680,9 @@ PHP_FUNCTION(ftp_put) XTYPE(xtype, arg4); #ifdef PHP_WIN32 - if ((infp = V_FOPEN(Z_STRVAL_P(arg3), "rb")) == NULL) { + if ((infp = VCWD_FOPEN(Z_STRVAL_P(arg3), "rb")) == NULL) { #else - if ((infp = V_FOPEN(Z_STRVAL_P(arg3), "r")) == NULL) { + if ((infp = VCWD_FOPEN(Z_STRVAL_P(arg3), "r")) == NULL) { #endif php_error(E_WARNING, "error opening %s", Z_STRVAL_P(arg3)); RETURN_FALSE; -- cgit v1.2.1