projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New module 'uniwbrk/table'.
[gnulib.git]
/
lib
/
unistd.in.h
diff --git
a/lib/unistd.in.h
b/lib/unistd.in.h
index
52db71c
..
d8276b1
100644
(file)
--- a/
lib/unistd.in.h
+++ b/
lib/unistd.in.h
@@
-29,7
+29,7
@@
#ifndef _GL_UNISTD_H
#define _GL_UNISTD_H
#ifndef _GL_UNISTD_H
#define _GL_UNISTD_H
-/* mingw doesn't define the SEEK_* macros in <unistd.h>. */
+/* mingw doesn't define the SEEK_*
or *_FILENO
macros in <unistd.h>. */
#if !(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET)
# include <stdio.h>
#endif
#if !(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET)
# include <stdio.h>
#endif
@@
-87,6
+87,17
@@
/* The definition of GL_LINK_WARNING is copied here. */
/* The definition of GL_LINK_WARNING is copied here. */
+/* OS/2 EMX lacks these macros. */
+#ifndef STDIN_FILENO
+# define STDIN_FILENO 0
+#endif
+#ifndef STDOUT_FILENO
+# define STDOUT_FILENO 1
+#endif
+#ifndef STDERR_FILENO
+# define STDERR_FILENO 2
+#endif
+
/* Declare overridden functions. */
#ifdef __cplusplus
/* Declare overridden functions. */
#ifdef __cplusplus