summaryrefslogtreecommitdiff
path: root/include/systools/win32
diff options
context:
space:
mode:
Diffstat (limited to 'include/systools/win32')
-rw-r--r--include/systools/win32/comptr.hxx4
-rw-r--r--include/systools/win32/snprintf.h5
-rw-r--r--include/systools/win32/uwinapi.h7
3 files changed, 0 insertions, 16 deletions
diff --git a/include/systools/win32/comptr.hxx b/include/systools/win32/comptr.hxx
index db027274bc63..2a56ec92422a 100644
--- a/include/systools/win32/comptr.hxx
+++ b/include/systools/win32/comptr.hxx
@@ -174,15 +174,11 @@ class ComPtr
}
}
-#ifndef __MINGW32__
-
template< class T_QUERYINTERFACE >
HRESULT query(T_QUERYINTERFACE** pQuery)
{
return m_pInterface->QueryInterface(__uuidof(T_QUERYINTERFACE), (void**)pQuery);
}
-#endif
-
HRESULT query(REFIID rIID ,
void** pQuery)
diff --git a/include/systools/win32/snprintf.h b/include/systools/win32/snprintf.h
index 4342add2f76d..94799d085e20 100644
--- a/include/systools/win32/snprintf.h
+++ b/include/systools/win32/snprintf.h
@@ -66,9 +66,6 @@ extern "C" {
even if the buffer wasn't large
enough to hold the string. */
-
-#if !defined(__MINGW32__) || defined (__NO_ISOCEXT)
-
/* VS 2015 and above support ISO C snprintf */
#if _MSC_VER < 1900
@@ -80,8 +77,6 @@ LO_SNPRINTF_DLLIMPORT int __cdecl snprintf( char *buffer, size_t count, const ch
#endif
-#endif
-
/* Conflict with STL_port inline implementation */
#ifdef __cplusplus
diff --git a/include/systools/win32/uwinapi.h b/include/systools/win32/uwinapi.h
index cf89806f87fb..b441f3af6200 100644
--- a/include/systools/win32/uwinapi.h
+++ b/include/systools/win32/uwinapi.h
@@ -30,13 +30,6 @@
#include "prewin.h"
#include "postwin.h"
-#ifdef __MINGW32__
-#include <basetyps.h>
-#ifdef _UWINAPI_
-#define WINBASEAPI
-#endif
-#endif
-
#ifdef __cplusplus
inline bool IsValidHandle(HANDLE handle)