Loading...
--- libmalloc/libmalloc-140.1.1/src/platform.h
+++ libmalloc/libmalloc-140.40.1/src/platform.h
@@ -96,6 +96,15 @@
 #define CONFIG_SMALL_CUTTOFF_127KB 1
 #endif // MALLOC_TARGET_IOS
 
+#if CONFIG_NANOZONE
+// <rdar://problem/35305995>
+#if MALLOC_TARGET_IOS && TARGET_OS_IOS
+#define CONFIG_NANO_SMALLMEM_DYNAMIC_DISABLE_35305995 1
+#else
+#define CONFIG_NANO_SMALLMEM_DYNAMIC_DISABLE_35305995 0
+#endif
+#endif
+
 // memory resource exception handling
 #if MALLOC_TARGET_IOS || TARGET_OS_SIMULATOR
 #define ENABLE_MEMORY_RESOURCE_EXCEPTION_HANDLING 0