Skip to content

Commit f60dc3b

Browse files
committed
fileinfo: More VS compat
Signed-off-by: Anatol Belski <ab@php.net>
1 parent 61f4525 commit f60dc3b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/fileinfo/libmagic/funcs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ file_print_guid(char *str, size_t len, const uint64_t *guid)
779779
g->data4[6], g->data4[7]);
780780
}
781781

782+
#if 0
782783
protected int
783784
file_pipe_closexec(int *fds)
784785
{
@@ -797,6 +798,7 @@ protected int
797798
file_clear_closexec(int fd) {
798799
return fcntl(fd, F_SETFD, 0);
799800
}
801+
#endif
800802

801803
protected char *
802804
file_strtrim(char *str)

0 commit comments

Comments
 (0)