diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp index 92dd52597d67db982f24b934fe090e53b1a517f5..d8af711b75c1b83b1fa71d3b761e4a1afb687ac3 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp +++ b/Applications/Utils/ModelPreparation/PartitionMesh/PartitionMesh.cpp @@ -14,7 +14,7 @@ #include <tclap/CmdLine.h> -#ifdef _MSC_VER +#ifdef WIN32 #include <windows.h> #else #include <climits> diff --git a/BaseLib/RunTime.h b/BaseLib/RunTime.h index 7cd89ef0256a97ab1d07b5995cd132fd10d2dd69..23b20805c1be9a4c7c133705cbd25e21b7affa6e 100644 --- a/BaseLib/RunTime.h +++ b/BaseLib/RunTime.h @@ -19,7 +19,7 @@ #if defined(USE_MPI) #include <mpi.h> #else -#ifndef _MSC_VER +#ifndef WIN32 #include <sys/time.h> #else #include <windows.h>