More MINGW compatibility changes

(cherry picked from commit ec84b4750a)
This commit is contained in:
Jan Möbius
2016-05-30 16:26:01 +02:00
parent 27b9cf584f
commit 279659856a
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ public:
// compiler and os dependent implementation
// ------------------------------------------------------------- windows 32 ----
#if defined(WIN32) && (defined(_MSC_VER) || defined(__INTEL_COMPILER))
#if defined(WIN32) && (defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined (__MINGW32__) )
#ifndef DOXY_IGNORE_THIS
#include <windows.h>
@@ -263,7 +263,7 @@ void TimerImplStd::stop(void)
Timer::Timer(void)
{
#if defined(WIN32) && defined(_MSC_VER)
#if defined(WIN32) && (defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__MINGW32__))
impl_ = new TimerImplWin32;
#elif defined(__GNUC__) && defined(__POSIX__)
// CLOCK_REALTIME