1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

Add ERROR_DIRECTORY_NOT_SUPPORTED define missing in MinGW

This commit is contained in:
Mike Gelfand 2015-04-11 10:58:08 +00:00
parent 3b129a72d8
commit b58621c683

View file

@ -14,6 +14,11 @@
#include <windows.h>
/* MinGW :( */
#ifndef ERROR_DIRECTORY_NOT_SUPPORTED
#define ERROR_DIRECTORY_NOT_SUPPORTED 336
#endif
#define TR_ERROR_IS_ENOENT(code) ((code) == ERROR_FILE_NOT_FOUND || \
(code) == ERROR_PATH_NOT_FOUND)
#define TR_ERROR_IS_ENOSPC(code) ((code) == ERROR_DISK_FULL)