mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@131267 d073be05-634f-4543-b044-5fe20cf6d1d6
17 lines
864 B
Diff
17 lines
864 B
Diff
--- Source/WTF/wtf/FastMalloc.cpp.orig 2015-01-07 16:04:31.000000000 -0800
|
|
+++ Source/WTF/wtf/FastMalloc.cpp 2015-01-07 16:06:05.000000000 -0800
|
|
@@ -5095,8 +5095,13 @@ void* FastMallocZone::zoneRealloc(malloc
|
|
extern "C" {
|
|
malloc_introspection_t jscore_fastmalloc_introspection = { &FastMallocZone::enumerate, &FastMallocZone::goodSize, &FastMallocZone::check, &FastMallocZone::print,
|
|
&FastMallocZone::log, &FastMallocZone::forceLock, &FastMallocZone::forceUnlock, &FastMallocZone::statistics
|
|
+
|
|
+#if OS(IOS) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
|
|
, 0 // zone_locked will not be called on the zone unless it advertises itself as version five or higher.
|
|
+#endif
|
|
+#if OS(IOS) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
|
, 0, 0, 0, 0 // These members will not be used unless the zone advertises itself as version seven or higher.
|
|
+#endif
|
|
|
|
};
|
|
}
|