8000 Remove useless conditional #ifdef · php/php-src@6f38a53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f38a53

Browse files
patrickallaertGirgias
authored andcommitted
Remove useless conditional #ifdef
Closes GH-6737 Signed-off-by: George Peter Banyard <girgias@php.net>
1 parent bfd3fda commit 6f38a53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ext/soap/php_sdl.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,11 +2117,8 @@ static void add_sdl_to_cache(const char *fn, const char *uri, time_t t, sdlPtr s
21172117
HashTable tmp_bindings;
21182118
HashTable tmp_functions;
21192119

2120-
#ifdef ZEND_WIN32
21212120
f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
2122-
#else
2123-
f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE);
2124-
#endif
2121+
21252122
if (f < 0) {return;}
21262123

21272124
zend_hash_init(&tmp_types, 0, NULL, NULL, 0);

0 commit comments

Comments
 (0)
0