* wtf/TCSystemAlloc.cpp:
(TCMalloc_SystemRelease):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28733
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-12-14 Dan Bernstein <mitz@apple.com>
+
+ - try again to fix the Windows build
+
+ * wtf/TCSystemAlloc.cpp:
+ (TCMalloc_SystemRelease):
+
2007-12-14 Dan Bernstein <mitz@apple.com>
- try to fix the Windows build
return NULL;
}
-#ifdef MADV_DONTNEED
+#ifndef MADV_DONTNEED
+void TCMalloc_SystemRelease(void*, size_t) {
+#else
void TCMalloc_SystemRelease(void* start, size_t length) {
if (FLAGS_malloc_devmem_start) {
// It's not safe to use MADV_DONTNEED if we've been mapping
// NOP
}
}
-#else
-void TCMalloc_SystemRelease(void*, size_t) { }
#endif
#if HAVE(MMAP)