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
/
fcntl.c
diff --git
a/lib/fcntl.c
b/lib/fcntl.c
index
d6a328c
..
92e32ee
100644
(file)
--- a/
lib/fcntl.c
+++ b/
lib/fcntl.c
@@
-37,6
+37,9
@@
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
+/* Get _get_osfhandle. */
+# include "msvc-nothrow.h"
+
/* Upper bound on getdtablesize(). See lib/getdtablesize.c. */
# define OPEN_MAX_MAX 0x10000