X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27529614c292a298e67dd8db1f169c94a4df204c..c4b10e41c7c275927fcc9999f81b6f65eadc7d31:/src/msw/ole/oleutils.cpp diff --git a/src/msw/ole/oleutils.cpp b/src/msw/ole/oleutils.cpp index 246452f99b..e67ac95611 100644 --- a/src/msw/ole/oleutils.cpp +++ b/src/msw/ole/oleutils.cpp @@ -2,7 +2,7 @@ // Name: ole/oleutils.cpp // Purpose: implementation of OLE helper functions // Author: Vadim Zeitlin -// Modified by: +// Modified by: // Created: 19.02.98 // RCS-ID: $Id$ // Copyright: (c) 1998 Vadim Zeitlin @@ -37,8 +37,8 @@ #include #include -#if defined(_MSC_VER) && (_MSC_VER > 1000) -#include +#if defined(__VISUALC__) && (__VISUALC__ > 1000) + #include #endif // ============================================================================ @@ -56,13 +56,13 @@ bool IsIidFromList(REFIID riid, const IID *aIids[], size_t nCount) return FALSE; } -#if USE_DRAG_AND_DROP +#if wxUSE_DRAG_AND_DROP // ---------------------------------------------------------------------------- // Debug support // ---------------------------------------------------------------------------- -#if defined(__WXDEBUG__) && defined(_MSC_VER) && (_MSC_VER > 1000) +#if defined(__WXDEBUG__) && defined(__VISUALC__) && (__VISUALC__ > 1000) const char *GetIidName(REFIID riid) { // an association between symbolic name and numeric value of an IID @@ -187,4 +187,4 @@ void wxLogRelease(const char *szInterface, ULONG cRef) #endif //WXDEBUG #endif - // USE_DRAG_AND_DROP + // wxUSE_DRAG_AND_DROP