Fix MingW build
[alexxy/gromacs.git] / src / external / thread_mpi / src / tmpi_init.c
index 4d15b931de4c32bc5aa86bc670e51c67fc2d8846..0728618d30b0f1e19cfdcdf3aa0949ef7f64051e 100644 (file)
@@ -810,7 +810,7 @@ int tMPI_Get_processor_name(char *name, int *resultlen)
             digits = 1;
         }
     }
-#if !(defined( _WIN32 ) || defined( _WIN64 ) )
+#ifndef _MSC_VER
     strcpy(name, "thread #");
 #else
     strncpy_s(name, TMPI_MAX_PROCESSOR_NAME, "thread #", TMPI_MAX_PROCESSOR_NAME);