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
/
stdio-read.c
diff --git
a/lib/stdio-read.c
b/lib/stdio-read.c
index
d7901dd
..
86b1d61
100644
(file)
--- a/
lib/stdio-read.c
+++ b/
lib/stdio-read.c
@@
-37,6
+37,8
@@
# define WIN32_LEAN_AND_MEAN /* avoid including junk */
# include <windows.h>
+# include "msvc-nothrow.h"
+
# define CALL_WITH_ERRNO_FIX(RETTYPE, EXPRESSION, FAILED) \
if (ferror (stream)) \
return (EXPRESSION); \