1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[mingw] fix MinGW-w64 compilation

* newer versions of MinGW-w64 have shuffled off_t definitions - fix that
This commit is contained in:
Pete Batard 2012-05-25 18:40:30 +01:00
parent 032864021c
commit af80c80917
3 changed files with 8 additions and 8 deletions

View file

@ -35,7 +35,7 @@ else
fi
AC_MSG_RESULT([enabling Large File Support (ISO support)])
AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64 -D_OFF_T_DEFINED -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t"
AM_CFLAGS="$AM_CFLAGS -D_FILE_OFFSET_BITS=64 -D_OFF_T_ -D_off_t=off64_t -Doff_t=off64_t -Doff32_t=long"
# check for -Wno-pointer-sign compiler support (GCC >= 4)
saved_CFLAGS="${CFLAGS}"