Browse Source

Added a flag that can be used to disable overloaded new + delete in DLL builds.

tags/2021-05-28
jules 12 years ago
parent
commit
71358e7f38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/memory/juce_Memory.h

+ 1
- 1
modules/juce_core/memory/juce_Memory.h View File

@@ -100,7 +100,7 @@ inline Type* createCopyIfNotNull (const Type* pointer) { return pointer != n
avoiding problems when an object is created in one module and passed across to another where it is deleted.
By piggy-backing on the JUCE_LEAK_DETECTOR macro, these allocators can be injected into most juce classes.
*/
#if JUCE_MSVC && (defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)) && ! DOXYGEN
#if JUCE_MSVC && (defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)) && ! (JUCE_DISABLE_DLL_ALLOCATORS || DOXYGEN)
extern JUCE_API void* juceDLL_malloc (size_t);
extern JUCE_API void juceDLL_free (void*);


Loading…
Cancel
Save