diff options
author | Ferenc Kovacs <tyrael@php.net> | 2015-05-14 02:02:08 +0200 |
---|---|---|
committer | Ferenc Kovacs <tyrael@php.net> | 2015-05-14 02:02:08 +0200 |
commit | 3cb1be7a1b71f4a9f2852d471af0bbfef5308278 (patch) | |
tree | 8ff2a1bada96e103554bf2210005612200da82ab /ext/standard/basic_functions.c | |
parent | d8bf5110d5191f31a9c475d359e9c2ac79e84e96 (diff) | |
download | php-git-PHP-5.5.25.tar.gz |
fix windows buildphp-5.5.25PHP-5.5.25
Diffstat (limited to 'ext/standard/basic_functions.c')
-rw-r--r-- | ext/standard/basic_functions.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 83d140e1e4..98a5bb6db6 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4151,13 +4151,6 @@ PHP_FUNCTION(putenv) && _putenv(pe.putenv_string) == 0 # endif ) { /* success */ -# if _MSC_VER < 1500 - /* Yet another VC6 bug, unset may return env not found */ - if (error_code != 0 || - (error_code == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND)) { -# else - if (error_code != 0) { /* success */ -# endif # endif #endif zend_hash_add(&BG(putenv_ht), pe.key, pe.key_len + 1, (void **) &pe, sizeof(putenv_entry), NULL); |