Fix build for Haiku

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1455 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2010-04-12 08:27:38 +00:00
parent 1e0cafdae1
commit 85b95d4ff1

View File

@ -328,17 +328,17 @@ fstype_to_string (int t)
}
#endif /* MOUNTED_VMOUNT */
#ifdef __linux__
#define BROKEN __attribute__((unused))
#else
#define BROKEN
#endif
#if defined MOUNTED_GETMNTENT1 || defined MOUNTED_GETMNTENT2
/* Return the device number from MOUNT_OPTIONS, if possible.
Otherwise return (dev_t) -1. */
#ifdef __linux__
#define BROKEN __attribute__((unused))
#else
#define BROKEN
#endif
static dev_t
dev_from_mount_options (BROKEN char const *mount_options)