File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 3232#define _ALREADY_INCLUDED_LIBFERRISSTREAMS_STREAMS_POSIX_H_
3333
3434#include < sys/mman.h>
35- #include < iosfwd >
35+ #include < ios >
3636
3737int ferris_madvise (void *addr, size_t length, int advice);
3838bool isBufferAllZero ( const void * buffervp, std::streamsize size );
Original file line number Diff line number Diff line change 5050
5151using namespace std ;
5252
53+ #ifndef MREMAP_MAYMOVE
54+ #define MREMAP_MAYMOVE 0
55+ #endif
5356
5457namespace Ferris
5558{
@@ -2792,7 +2795,7 @@ class FERRISEXP_DLLLOCAL basic_mmap_streambuf
27922795 void * p = mremap ( this ->buffer ,
27932796 this ->getBufSize (),
27942797 newSize, MREMAP_MAYMOVE );
2795-
2798+
27962799 streamsize x = lseek ( fd, 0 , SEEK_CUR );
27972800 if ( x > ShouldBeEndOfFile )
27982801 {
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ post-extract {
6060
6161
6262configure.args
63- configure.cflags-append -g -mmacosx-version-min=10.7
63+ configure.cflags-append -g -mmacosx-version-min=10.7 -DMAC
64+ configure.cxxflags-append -g -mmacosx-version-min=10.7 -DMAC
6465configure.ldflags-append -lintl -mmacosx-version-min=10.7
6566
You can’t perform that action at this time.
0 commit comments