re PR fortran/41219 (libgfortran build warnings)
2009-09-04 Tobias Burnus <burnus@net-b.de> PR fortran/41219 * intrinsics/getlog.c: Define _POSIX for MINGW32. From-SVN: r151417
This commit is contained in:
parent
b09062ee0b
commit
aa4042b15e
@ -1,3 +1,8 @@
|
||||
2009-09-04 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/41219
|
||||
* intrinsics/getlog.c: Define _POSIX for MINGW32.
|
||||
|
||||
2009-09-03 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
PR fortran/41219
|
||||
|
@ -28,6 +28,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# if defined __MINGW32__ && defined HAVE_GETLOGIN
|
||||
# define _POSIX 1
|
||||
# endif
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_PWD_H
|
||||
|
Loading…
Reference in New Issue
Block a user