* global.h: Add replacement for O_NONBLOCK.
Этот коммит содержится в:
родитель
2048c47dfb
Коммит
5c76f171ac
@ -1,3 +1,7 @@
|
|||||||
|
2002-12-15 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* global.h: Add replacement for O_NONBLOCK.
|
||||||
|
|
||||||
2002-12-11 Pavel Roskin <proski@gnu.org>
|
2002-12-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* find.c (find_file): Skip entries without data when panelizing.
|
* find.c (find_file): Skip entries without data when panelizing.
|
||||||
|
11
src/global.h
11
src/global.h
@ -50,6 +50,17 @@
|
|||||||
# define O_BINARY 0
|
# define O_BINARY 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* Replacement for O_NONBLOCK */
|
||||||
|
#ifndef O_NONBLOCK
|
||||||
|
#ifdef O_NDELAY /* SYSV */
|
||||||
|
#define O_NONBLOCK O_NDELAY
|
||||||
|
#else /* BSD */
|
||||||
|
#define O_NONBLOCK FNDELAY
|
||||||
|
#endif /* !O_NDELAY */
|
||||||
|
#endif /* !O_NONBLOCK */
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIMEB_H
|
#ifdef HAVE_SYS_TIMEB_H
|
||||||
# include <sys/timeb.h>
|
# include <sys/timeb.h>
|
||||||
#endif
|
#endif
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user