Provide ext2fs_get_device_size2() for Windows/Cygwin systems, so
builds can succeed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
#define HAVE_GET_FILE_SIZE_EX 1
#endif
-errcode_t ext2fs_get_device_size(const char *file, int blocksize,
- blk_t *retblocks)
+errcode_t ext2fs_get_device_size2(const char *file, int blocksize,
+ blk64_t *retblocks)
{
HANDLE dev;
PARTITION_INFORMATION pi;
return rc;
}
+#endif /* WIN32 */
+
errcode_t ext2fs_get_device_size(const char *file, int blocksize,
blk_t *retblocks)
{
return 0;
}
-#endif /* WIN32 */
-
#ifdef DEBUG
int main(int argc, char **argv)
{