X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5ad6961eb70a65860bf458fff694be554acd0e7..1678ad780265f08fc8b84d180c04ae3a9900b1bb:/src/msw/ole/oleutils.cpp diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index 92a16e713a..2de92ce709 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -41,7 +41,7 @@ #include #include -#ifndef __BORLANDC__ +#if defined(_MSC_VER) && (_MSC_VER > 1000) #include #endif @@ -64,7 +64,7 @@ bool IsIidFromList(REFIID riid, const IID *aIids[], size_t nCount) // Debug support // ---------------------------------------------------------------------------- -#if defined(__DEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000) +#if defined(__WXDEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000) const char *GetIidName(REFIID riid) { // an association between symbolic name and numeric value of an IID @@ -186,7 +186,7 @@ void wxLogRelease(const char *szInterface, ULONG cRef) wxLogTrace("After %s::Release: m_cRef = %d", szInterface, cRef - 1); } -#endif //DEBUG +#endif //WXDEBUG #endif // USE_DRAG_AND_DROP