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
Merge release-5-0 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
tngio.cpp
diff --git
a/src/gromacs/fileio/tngio.cpp
b/src/gromacs/fileio/tngio.cpp
index 20932d54c37627bcd7e91c4f145d2701f3058619..b677014564098d9ab2c65d5d4cf6a220ea1ec600 100644
(file)
--- a/
src/gromacs/fileio/tngio.cpp
+++ b/
src/gromacs/fileio/tngio.cpp
@@
-150,7
+150,7
@@
void gmx_tng_open(const char *filename,
// tng_last_program_name_set(*tng, programInfo);
// }
-#if
def HAVE_UNISTD_H
+#if
defined(HAVE_UNISTD_H) && !defined(__MINGW32__)
char username[256];
if (!getlogin_r(username, 256))
{