mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[dos] another compilation fix
This commit is contained in:
parent
a2472f2cbb
commit
a8e2302713
@ -77,6 +77,8 @@ safe_write(int fd, const void *buf, size_t count) {
|
||||
#else /* EINTR && !CONFIG_OS_WIN32 */
|
||||
|
||||
#ifdef CONFIG_OS_DOS
|
||||
int dos_read(int fd, void *buf, size_t size);
|
||||
int dos_write(int fd, const void *buf, size_t size);
|
||||
#define safe_read(fd, buf, count) dos_read(fd, buf, count)
|
||||
#define safe_write(fd, buf, count) dos_write(fd, buf, count)
|
||||
|
||||
|
@ -988,7 +988,7 @@ resume_mouse(void *data)
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_OS_WIN32
|
||||
#if !defined(CONFIG_OS_WIN32) && !defined(CONFIG_OS_DOS)
|
||||
/* Create a bitmask consisting from system-independent envirnoment modifiers.
|
||||
* This is then complemented by system-specific modifiers in an appropriate
|
||||
* get_system_env() routine. */
|
||||
|
@ -64,10 +64,11 @@ sig_ign(void *x)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(SIGTSTP) || defined(SIGTTIN)
|
||||
static void poll_fg(void *);
|
||||
static struct timer *fg_poll_timer = NULL;
|
||||
|
||||
#if defined(SIGTSTP) || defined(SIGTTIN)
|
||||
static void
|
||||
sig_tstp(struct terminal *term)
|
||||
{
|
||||
@ -94,7 +95,6 @@ sig_tstp(struct terminal *term)
|
||||
if (fg_poll_timer != NULL) kill_timer(&fg_poll_timer);
|
||||
install_timer(&fg_poll_timer, FG_POLL_TIME, poll_fg, term);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
poll_fg(void *t_)
|
||||
@ -116,6 +116,7 @@ poll_fg(void *t_)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef SIGCONT
|
||||
|
Loading…
Reference in New Issue
Block a user