We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98acba1 commit b043003Copy full SHA for b043003
src/memory/map.cpp
@@ -558,7 +558,7 @@ bool map::remap_(size_t size) NOEXCEPT
558
bool map::resize_(size_t size) NOEXCEPT
559
{
560
// Disk full detection, any other failure is an abort.
561
-#if defined(HAVE_APPLE)
+#if defined(HAVE_XCODE)
562
// TODO: implement fallocate for macOS (open and write a byte per block).
563
if (::ftruncate(opened_, size) == fail)
564
#else
0 commit comments