mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 08:28:03 +02:00
test: Use POSIX-compatible unlink
On Win32, the POSIX-compatible unlink function is named "_unlink". A function named "unlink" exists, but does not have the same behavior as the POSIX-specified one. This function makes the cairo test suite behave incorrectly and immediately terminate with the message: Error: Cannot remove cairo-test-suite.log: No error
This commit is contained in:
parent
5cb18fcec7
commit
3b9c874489
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@
|
|||
#include <crtdbg.h>
|
||||
#define vsnprintf _vsnprintf
|
||||
#define access _access
|
||||
#define unlink _unlink
|
||||
#define F_OK 0
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue