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:
Tobias Burnus 2009-09-04 11:25:00 +02:00 committed by Tobias Burnus
parent b09062ee0b
commit aa4042b15e
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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