mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
Add ERROR_DIRECTORY_NOT_SUPPORTED define missing in MinGW
This commit is contained in:
parent
3b129a72d8
commit
b58621c683
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@
|
||||||
|
|
||||||
#include <windows.h>
|
#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 || \
|
#define TR_ERROR_IS_ENOENT(code) ((code) == ERROR_FILE_NOT_FOUND || \
|
||||||
(code) == ERROR_PATH_NOT_FOUND)
|
(code) == ERROR_PATH_NOT_FOUND)
|
||||||
#define TR_ERROR_IS_ENOSPC(code) ((code) == ERROR_DISK_FULL)
|
#define TR_ERROR_IS_ENOSPC(code) ((code) == ERROR_DISK_FULL)
|
||||||
|
|
Loading…
Reference in a new issue