Merge pull request #2833 from directhex/ci-script-in-repo
[mono.git] / mono / utils / dlmalloc.c
index 349df1fa726350b05947e28d2cdeb66071245393..2ce2a6ea95e4afb928e2bb91d7bd0df263c936ae 100644 (file)
@@ -24,6 +24,7 @@
 /* Use mmap for allocating memory */
 #define HAVE_MORECORE 0
 #define NO_MALLINFO 1
+#include <mono/utils/dlmalloc.h>
 
 /*
 * Quickstart
@@ -1163,7 +1164,7 @@ int mspace_mallopt(int, int);
 
 /*------------------------------ internal #includes ---------------------- */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4146 ) /* no "unsigned" warnings */
 #endif /* WIN32 */