Browse Source

Don't include dlmalloc_src.cxx in interrogate

Fixes: #200
rdb 8 years ago
parent
commit
27f20c80fd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      dtool/src/dtoolbase/memoryHook.cxx

+ 3 - 1
dtool/src/dtoolbase/memoryHook.cxx

@@ -47,7 +47,9 @@ static_assert(MEMORY_HOOK_ALIGNMENT * 8 >= NATIVE_WORDSIZE,
 static_assert((MEMORY_HOOK_ALIGNMENT & (MEMORY_HOOK_ALIGNMENT - 1)) == 0,
               "MEMORY_HOOK_ALIGNMENT should be a power of two");
 
-#if defined(USE_MEMORY_DLMALLOC)
+#if defined(CPPPARSER)
+
+#elif defined(USE_MEMORY_DLMALLOC)
 
 // Memory manager: DLMALLOC This is Doug Lea's memory manager.  It is very
 // fast, but it is not thread-safe.  However, we provide thread locking within