(REMOTE_FS_TYPE): New macro.

This commit is contained in:
Jim Meyering 1998-07-25 14:55:10 +00:00
parent bb3fca40db
commit 122d3f15ae

View File

@ -30,3 +30,9 @@ struct mount_entry *read_filesystem_list (int need_fs_type, int all_fs);
#else
struct mount_entry *read_filesystem_list ();
#endif
/* In most environments, by default, a filesystem type is remote if it
begins with "nfs". This allows variants like "nfs3". */
#ifndef REMOTE_FS_TYPE
# define REMOTE_FS_TYPE(t) (!strncmp (t, "nfs", 3))
#endif