Commit b013c7b
Fix build with GCC 15
```
src/testcommon/mmap.cpp: In member function 'void MemoryMappedFile::impl::map_file(const char*, int, int, int)':
src/testcommon/mmap.cpp:273:62: error: 'PTRDIFF_MAX' was not declared in this scope
273 | if ((file_size = posix::get_file_size(fd)) > PTRDIFF_MAX)
| ^~~~~~~~~~~
src/testcommon/mmap.cpp:22:1: note: 'PTRDIFF_MAX' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
```1 parent 9a9a8ea commit b013c7b
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments