Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 26, 2010, 12:00:14 AM (14 years ago)
Author:
rgrieder
Message:

Sorted out Visual Leak Detector issues (using new version 2 now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/forks/sandbox_qt/src/OrxonoxConfig.h.in

    r7421 r7806  
    179179*/
    180180
    181 // Always include the memory leak detector for MSVC except for actual releases
    182 // Note: Although officially supported, VLD does not work with MSVC 9
    183 #if defined(ORXONOX_COMPILER_MSVC) && _MSC_VER < 1500 && !defined(ORXONOX_RELEASE)
     181// Include memory leak detector if available and not building actual release
     182#cmakedefine HAVE_VLD
     183#if defined(HAVE_VLD) && !defined(ORXONOX_RELEASE)
     184    typedef UINT32 uint32_t;
     185    typedef wchar_t WCHAR;
     186    struct HINSTANCE__ { int unused; };
     187    typedef struct HINSTANCE__ * HINSTANCE;
     188    typedef HINSTANCE HMODULE;
    184189#  include <vld.h>
    185190#endif
Note: See TracChangeset for help on using the changeset viewer.