projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New module 'msvc-nothrow'. Makes _get_osfhandle safe on MSVC 9.
[gnulib.git]
/
lib
/
error.c
diff --git
a/lib/error.c
b/lib/error.c
index
7482baa
..
5ebe8bf
100644
(file)
--- a/
lib/error.c
+++ b/
lib/error.c
@@
-92,6
+92,8
@@
extern void __error_at_line (int status, int errnum, const char *file_name,
/* Get declarations of the Win32 API functions. */
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
+/* Get _get_osfhandle. */
+# include "msvc-nothrow.h"
# endif
/* The gnulib override of fcntl is not needed in this file. */