From b9559ac740b4f871a7c60ffa2ec720515eaa0fe7 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sun, 17 Feb 2019 23:56:01 +0100
Subject: [PATCH] [BL] Fix usage of _MSC_VER macro. WIN32 is correct

The enclosed code depends on OS, not compiler.
---
 BaseLib/RunTime.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseLib/RunTime.h b/BaseLib/RunTime.h
index c06d37d5c21..49c8194cef2 100644
--- a/BaseLib/RunTime.h
+++ b/BaseLib/RunTime.h
@@ -38,7 +38,7 @@ class RunTime
 #if defined(USE_MPI)
             _start_time = MPI_Wtime();
 #else
-#ifndef _MSC_VER
+#ifndef WIN32
             timeval t;
             gettimeofday(&t, nullptr);
             _start_time = t.tv_sec + t.tv_usec/1000000.0;
@@ -54,7 +54,7 @@ class RunTime
 #if defined(USE_MPI)
             return MPI_Wtime() - _start_time;
 #else
-#ifndef _MSC_VER
+#ifndef WIN32
             timeval t;
             gettimeofday(&t, nullptr);
             return t.tv_sec + t.tv_usec/1000000.0 - _start_time;
-- 
GitLab