mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-29 00:26:33 +03:00
std: Define O_NOATIME if not already defined.
This commit is contained in:
parent
d43b382089
commit
8da59de17b
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,6 @@
|
|||
#define S_IFLNK 10001 /* dummy val on Win32 */
|
||||
|
||||
#define O_NOFOLLOW 0
|
||||
#define O_NOATIME 0
|
||||
#define O_NOCTTY 0
|
||||
|
||||
#define uid_t int
|
||||
|
@ -59,6 +58,10 @@ typedef struct _stat csync_stat_t;
|
|||
typedef struct stat csync_stat_t;
|
||||
#endif
|
||||
|
||||
#ifndef O_NOATIME
|
||||
#define O_NOATIME 0
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRERROR_R
|
||||
#define strerror_r(errnum, buf, buflen) snprintf(buf, buflen, "%s", strerror(errnum))
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue