biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix MingW build
[alexxy/gromacs.git]
/
src
/
external
/
thread_mpi
/
src
/
tmpi_init.c
diff --git
a/src/external/thread_mpi/src/tmpi_init.c
b/src/external/thread_mpi/src/tmpi_init.c
index 4d15b931de4c32bc5aa86bc670e51c67fc2d8846..0728618d30b0f1e19cfdcdf3aa0949ef7f64051e 100644
(file)
--- a/
src/external/thread_mpi/src/tmpi_init.c
+++ b/
src/external/thread_mpi/src/tmpi_init.c
@@
-810,7
+810,7
@@
int tMPI_Get_processor_name(char *name, int *resultlen)
digits = 1;
}
}
-#if
!(defined( _WIN32 ) || defined( _WIN64 ) )
+#if
ndef _MSC_VER
strcpy(name, "thread #");
#else
strncpy_s(name, TMPI_MAX_PROCESSOR_NAME, "thread #", TMPI_MAX_PROCESSOR_NAME);