diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 20009650c..6ff3c963c 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2005-01-06 Danny Smith + + * include/stdio.h (P_tmpdir): Add define. + 2005-01-03 Earnie Boyd * Makefile.in (inst_docdir): For Cygwin target set to share/doc/. diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 9b53fbfb1..41508d3f3 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -70,6 +70,9 @@ * Redefining these macros does not effect the CRT functions. */ #define _P_tmpdir "\\" +#ifndef __STRICT_ANSI__ +#define P_tmpdir _P_tmpdir +#endif #define _wP_tmpdir L"\\" /*