X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..da468d387db3b7e22b008bf08be2ff6b202508fb:/include/wx/msw/ole/oleutils.h diff --git a/include/wx/msw/ole/oleutils.h b/include/wx/msw/ole/oleutils.h index 1430abbbe2..60336d6444 100644 --- a/include/wx/msw/ole/oleutils.h +++ b/include/wx/msw/ole/oleutils.h @@ -16,6 +16,8 @@ #pragma interface "oleutils.h" #endif +#include "wx/defs.h" + // ============================================================================ // General purpose functions and macros // ============================================================================ @@ -119,8 +121,7 @@ bool IsIidFromList(REFIID riid, const IID *aIids[], size_t nCount); // Debugging support // ============================================================================ -#ifdef __DEBUG__ - +#if defined(__WXDEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000) // ---------------------------------------------------------------------------- // // ---------------------------------------------------------------------------- @@ -136,10 +137,10 @@ void wxLogQueryInterface(const char *szInterface, REFIID riid); void wxLogAddRef (const char *szInterface, ULONG cRef); void wxLogRelease(const char *szInterface, ULONG cRef); -#else //!DEBUG +#else //!WXDEBUG #define wxLogQueryInterface(szInterface, riid) #define wxLogAddRef(szInterface, cRef) #define wxLogRelease(szInterface, cRef) -#endif //DEBUG +#endif //WXDEBUG #endif //_OLEUTILS_H \ No newline at end of file