Sfoglia il codice sorgente

disable ALTERNATIVE_MALLOC by default

David Rose 19 anni fa
parent
commit
9f87644dd4
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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