]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/oleutils.cpp
another segfault fix
[wxWidgets.git] / src / msw / ole / oleutils.cpp
index 55e74c6c45f6ec60b4f3525c39ccba09d3a82697..2a23ca80859a89cd448e3db290a516f7c246d4c3 100644 (file)
 #include  "wx/setup.h"
 #include  "wx/log.h"
 
+#if wxUSE_OLE
+
+#ifndef __CYGWIN10__
+
 #include <windows.h>
 
 // OLE
@@ -208,3 +212,10 @@ void wxLogRelease(const char *szInterface, ULONG cRef)
 
 #endif
   // wxUSE_DRAG_AND_DROP
+
+#endif
+  // __CYGWIN10__
+
+#endif
+  // wxUSE_OLE
+