Another fix for OSX.

edge.strict_endians
antona 2006-02-03 23:55:40 +00:00
parent 584ca613ef
commit 3420b5faec
1 changed files with 3 additions and 0 deletions

View File

@ -715,6 +715,9 @@ int ntfs_device_block_size_set(struct ntfs_device *dev,
return 0;
}
#else
/* If not a block device, pretend it was successful. */
if (!NDevBlock(dev))
return 0;
errno = EOPNOTSUPP;
#endif
return -1;