* wtf/TCSystemAlloc.cpp:
(TCMalloc_SystemRelease):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28732
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-12-14 Dan Bernstein <mitz@apple.com>
+
+ - try to fix the Windows build
+
+ * wtf/TCSystemAlloc.cpp:
+ (TCMalloc_SystemRelease):
+
2007-12-14 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej and Oliver.
return NULL;
}
-void TCMalloc_SystemRelease(void* start, size_t length) {
#ifdef MADV_DONTNEED
+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
// /dev/mem for heap memory
// NOP
}
}
+#else
+void TCMalloc_SystemRelease(void*, size_t) { }
#endif
#if HAVE(MMAP)