Commit 484ab239 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Minor fix of the last commit.

parent 63f5c6c2
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"yes". "yes".
* inc/ms-w32.h (mkostemp): Declare prototype. * inc/ms-w32.h (mkostemp): Declare prototype.
(mktemp): Don't redirect to sys_mktemp.
* config.nt (HAVE_MKOSTEMP): Define to 1. (Bug#15015) * config.nt (HAVE_MKOSTEMP): Define to 1. (Bug#15015)
......
...@@ -207,8 +207,6 @@ extern struct tm * sys_localtime (const time_t *); ...@@ -207,8 +207,6 @@ extern struct tm * sys_localtime (const time_t *);
#define link sys_link #define link sys_link
#define localtime sys_localtime #define localtime sys_localtime
#define mkdir sys_mkdir #define mkdir sys_mkdir
#undef mktemp
#define mktemp sys_mktemp
#undef open #undef open
#define open sys_open #define open sys_open
#undef read #undef read
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* w32.c (mkostemp): New function. * w32.c (mkostemp): New function.
(mktemp): Remove, no longer used. Most of the code reused in (mktemp): Remove, no longer used. Most of the code reused in
mkostemp. (Bug#15015) mkostemp. (Bug#15015)
(mktemp): Don't undef.
2013-08-04 Dmitry Antipov <dmantipov@yandex.ru> 2013-08-04 Dmitry Antipov <dmantipov@yandex.ru>
......
...@@ -47,7 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ ...@@ -47,7 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef fopen #undef fopen
#undef link #undef link
#undef mkdir #undef mkdir
#undef mktemp
#undef open #undef open
#undef rename #undef rename
#undef rmdir #undef rmdir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment