Fix build for Haiku
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1455 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
1e0cafdae1
commit
85b95d4ff1
@ -328,17 +328,17 @@ fstype_to_string (int t)
|
|||||||
}
|
}
|
||||||
#endif /* MOUNTED_VMOUNT */
|
#endif /* MOUNTED_VMOUNT */
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#define BROKEN __attribute__((unused))
|
||||||
|
#else
|
||||||
|
#define BROKEN
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2
|
#if defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2
|
||||||
|
|
||||||
/* Return the device number from MOUNT_OPTIONS, if possible.
|
/* Return the device number from MOUNT_OPTIONS, if possible.
|
||||||
Otherwise return (dev_t) -1. */
|
Otherwise return (dev_t) -1. */
|
||||||
|
|
||||||
#ifdef __linux__
|
|
||||||
#define BROKEN __attribute__((unused))
|
|
||||||
#else
|
|
||||||
#define BROKEN
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static dev_t
|
static dev_t
|
||||||
dev_from_mount_options (BROKEN char const *mount_options)
|
dev_from_mount_options (BROKEN char const *mount_options)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user