projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
sysfile.h
diff --git
a/src/sysfile.h
b/src/sysfile.h
index
1a61127
..
3f4a694
100644
(file)
--- a/
src/sysfile.h
+++ b/
src/sysfile.h
@@
-55,6
+55,12
@@
Boston, MA 02111-1307, USA. */
#include <direct.h>
#endif
#include <direct.h>
#endif
+#ifndef STDERR_FILENO
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
+#endif
+
#ifndef O_RDONLY
#define O_RDONLY 0
#endif
#ifndef O_RDONLY
#define O_RDONLY 0
#endif
@@
-116,6
+122,14
@@
Boston, MA 02111-1307, USA. */
#endif
#endif
#endif
#endif
+#ifndef O_NONBLOCK
+#ifdef O_NDELAY
+#define O_NONBLOCK O_NDELAY
+#else
+#define O_NONBLOCK 04000
+#endif
+#endif
+
/* if system does not have symbolic links, it does not have lstat.
In that case, use ordinary stat instead. */
/* if system does not have symbolic links, it does not have lstat.
In that case, use ordinary stat instead. */