aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/stdio.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 2000965..6ff3c96 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-06 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/stdio.h (P_tmpdir): Add define.
+
2005-01-03 Earnie Boyd <earnie@users.sf.net>
* 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 9b53fbf..41508d3 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"\\"
/*