nhttpd: let sendfile() support files >= 2GB

This commit is contained in:
martii
2014-07-20 10:57:18 +02:00
committed by [CST] Focus
parent 0149b27760
commit d71958ba8c
9 changed files with 50 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64
AM_CPPFLAGS += \
-I$(top_builddir) \

View File

@@ -1,4 +1,4 @@
AM_CPPFLAGS = -fno-rtti -fno-exceptions
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D_FILE_OFFSET_BITS=64
AM_CPPFLAGS += \
-I$(top_srcdir)/lib \