Explorar o código

disable ALTERNATIVE_MALLOC by default

David Rose %!s(int64=19) %!d(string=hai) anos
pai
achega
9f87644dd4
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      dtool/Config.pp

+ 5 - 1
dtool/Config.pp

@@ -366,7 +366,11 @@
 // call anyway) or when HAVE_THREADS is not defined (since the
 // non-thread-safe dlmalloc is a tiny bit faster than the system
 // library).
-#defer ALTERNATIVE_MALLOC $[or $[WINDOWS_PLATFORM],$[DO_MEMORY_USAGE],$[not $[HAVE_THREADS]]]
+
+// In hindsight, let's not enable this at all.  It just causes
+// problems.
+//#defer ALTERNATIVE_MALLOC $[or $[WINDOWS_PLATFORM],$[DO_MEMORY_USAGE],$[not $[HAVE_THREADS]]]
+#define ALTERNATIVE_MALLOC
 
 // Is NSPR installed, and where?  This is the Netscape Portable
 // Runtime library, downloadable as part of the Mozilla package from