Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 6, 2011, 3:37:01 AM (13 years ago)
Author:
rgrieder
Message:

Found a better solution to make the Visual Leak Detector (MSVC specific) work so that it doesn't need to be included in every single source file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/OrxonoxConfig.h.in

    r8368 r8409  
    185185    || defined(CMAKE_RelWithDebInfo_BUILD)
    186186#  define ORXONOX_RELEASE
    187 #endif
    188 
    189 // Include memory leak detector if available and not building actual release
    190 #cmakedefine HAVE_VLD
    191 #if defined(HAVE_VLD) && !defined(NDEBUG)
    192 typedef uint32_t UINT32;
    193 typedef wchar_t WCHAR;
    194 struct HINSTANCE__;
    195 typedef struct HINSTANCE__* HINSTANCE;
    196 typedef HINSTANCE HMODULE;
    197 #  ifndef NULL
    198 #    define NULL 0
    199 #  endif
    200 #  include <vld.h>
    201187#endif
    202188
Note: See TracChangeset for help on using the changeset viewer.