Redirect unlink to _unlink with msvc.

This commit is contained in:
Bartosz Taudul
2026-06-05 17:23:58 +02:00
parent 8eada19734
commit fc97af4c68

View File

@@ -4,6 +4,9 @@
#ifdef _WIN32
# include <stdio.h>
# ifdef _MSC_VER
# define unlink _unlink
# endif
#else
# include <unistd.h>
#endif