Skip to content

Commit

Permalink
Merge pull request #933 from MediaArea/32bit
Browse files Browse the repository at this point in the history
Enable large file support
  • Loading branch information
dericed authored Aug 28, 2024
2 parents 6363c6c + 93c36bd commit d1c0a60
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Project/GNU/CLI/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ AC_ARG_ENABLE(capture, AC_HELP_STRING([--enable-capture], [Use
AC_ARG_ENABLE(decklink, AC_HELP_STRING([--enable-decklink], [Enable capture from Blackmagic capture devices]), , enable_decklink=no)
AC_ARG_ENABLE(sony9pin, AC_HELP_STRING([--enable-sony9pin], [Enable control through Sony9Pin serial interface]), , enable_sony9pin=no)
AC_ARG_ENABLE(simulator, AC_HELP_STRING([--enable-simulator], [Enable capture simulation for testing purposes]), , enable_simulator=yes)
AC_ARG_ENABLE(large_files, AC_HELP_STRING([--disable-large_files], [Disable large files support]), , enable_large_files=yes)

dnl -------------------------------------------------------------------------
dnl Arguments - With
Expand Down Expand Up @@ -79,6 +80,13 @@ else
fi
fi

dnl -------------------------------------------------------------------------
dnl Large files
dnl
if test "$enable_large_files" = "yes"; then
CXXFLAGS="$CXXFLAGS -D_LARGE_FILES -D_FILE_OFFSET_BITS=64"
fi

dnl #########################################################################
dnl ### Parsing options
dnl #########################################################################
Expand Down

0 comments on commit d1c0a60

Please sign in to comment.