[mono/mono] c93df1b7: Add another extension point to the runtime.

"Jonathan Pryor ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001417b16c047-6bec4b70-fc66-4591-a11b-c7b37bd8e6b5-000000@email.amazonses.com>
   Branch: refs/heads/xamarin/monodroid-4.8.2-branch
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/3e3ec9895c4e...c93df1b7ca0a

   Commit: c93df1b7ca0ac31acbff317b749bde94dfc600be
   Author: Rodrigo Kumpera <[email protected]> (kumpera)
Committer: Jonathan Pryor <[email protected]> (jonpryor)
     Date: 2013-10-02 21:25:04 GMT
      URL: https://github.com/mono/mono/commit/c93df1b7ca0ac31acbff317b749bde94dfc600be

Add another extension point to the runtime.

Changed paths:
  M mono/utils/dlmalloc.c
  M mono/utils/dlmalloc.h

Modified: mono/utils/dlmalloc.c
===================================================================
@@ -24,6 +24,7 @@
 /* Use mmap for allocating memory */
 #define HAVE_MORECORE 0
 #define NO_MALLINFO 1
+#include <dlmalloc.h>
 
 /*
 * Quickstart

Modified: mono/utils/dlmalloc.h
===================================================================
@@ -30,6 +30,7 @@
 #endif
 
 #include <stddef.h>   /* for size_t */
+#include <mono/utils/mono-compiler.h>
 
 #if !ONLY_MSPACES
 
@@ -51,6 +52,9 @@
 #define dlindependent_comalloc independent_comalloc
 #endif /* USE_DL_PREFIX */
 
+#ifdef ENABLE_EXTENSION_MODULE
+#include "../../../mono-extensions/mono/utils/dlmalloc.h"
+#endif
 
 /*
   malloc(size_t n)


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.