test: fix visual studio 2015 build error (#3918)

This commit is contained in:
Ben Noordhuis 2023-03-10 11:41:35 +01:00 committed by GitHub
parent 964f79f7c8
commit 9581e3df0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,9 @@
# ifndef ERROR_SYMLINK_NOT_SUPPORTED
# define ERROR_SYMLINK_NOT_SUPPORTED 1464
# endif
# ifndef S_IFIFO
# define S_IFIFO _S_IFIFO
# endif
# define unlink _unlink
# define rmdir _rmdir
# define open _open