Ignore:
Timestamp:
Jun 13, 2007, 7:23:29 PM (18 years ago)
Author:
lars
Message:

Disable FastMalloc for the Qt build and make sure we
don't reimplement the global new/delete operators
when using the system malloc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/FastMalloc.cpp

    r21096 r23515  
    7171#endif
    7272
    73 #ifndef USE_SYSTEM_MALLOC
    74 #ifndef NDEBUG
    75 #define USE_SYSTEM_MALLOC 1
     73#if !defined(USE_SYSTEM_MALLOC) && defined(NDEBUG)
     74#define FORCE_SYSTEM_MALLOC 0
    7675#else
    77 #define USE_SYSTEM_MALLOC 0
    78 #endif
     76#define FORCE_SYSTEM_MALLOC 1
    7977#endif
    8078
     
    130128#endif // NDEBUG
    131129
    132 #if USE_SYSTEM_MALLOC
     130#if FORCE_SYSTEM_MALLOC
    133131
    134132#include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.