Skip to content

Add istrunction to compile ext4 utils under cygwin #1

@bovirus

Description

@bovirus

Please update the outfile.c to avoid error in compilation under cywgwin

This is the part added to compile ext4 utils under cygwin (I got it from xda forum)

if defined(APPLE) && defined(MACH)

define lseek64 lseek

define off64_t off_t

endif

################## Part added

ifdef CYGWIN

define off64_t _off64_t

define lseek64 _lseek64

endif

If you don't have ifdef CYGWIN section you cannot compile the source because you had an error "unknow type name off64_t".

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions