FreeBSD and Cygwin do not know about MS_NOATIME too. Fix this.

edge.strict_endians
cha0smaster 2005-11-24 14:23:38 +00:00
parent 398004a863
commit ce1aabed3b
1 changed files with 5 additions and 1 deletions

View File

@ -41,13 +41,17 @@
#include <mntent.h>
#endif
/* Both under Cygwin and DJGPP we do not have MS_RDONLY, so we define it. */
/*
* Under Cygwin, DJGPP and FreeBSD we do not have MS_RDONLY and MS_NOATIME,
* so we define them ourselves.
*/
#if !defined(MS_RDONLY)
/**
* enum MS_MOUNT -
*/
typedef enum {
MS_RDONLY = 1,
MS_NOATIME,
} MS_MOUNT;
#endif