mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
Missing errno code on mingw
This commit is contained in:
parent
6f1e70aae6
commit
97e0e75ae2
1 changed files with 14 additions and 0 deletions
|
@ -57,5 +57,19 @@
|
||||||
/**
|
/**
|
||||||
* }@
|
* }@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
/* missing errno codes on mingw */
|
||||||
|
#ifndef ENOTBLK
|
||||||
|
#define ENOTBLK 15
|
||||||
|
#endif
|
||||||
|
#ifndef ETXTBSY
|
||||||
|
#define ETXTBSY 26
|
||||||
|
#endif
|
||||||
|
#ifndef ENOBUFS
|
||||||
|
#define ENOBUFS WSAENOBUFS
|
||||||
|
#endif
|
||||||
|
#endif /* _WIN32 */
|
||||||
|
|
||||||
#endif /* _C_MACRO_H */
|
#endif /* _C_MACRO_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue