Sfoglia il codice sorgente

neercs: disable some non-working code on Win32 so that we at least build properly.

master
Sam Hocevar 12 anni fa
parent
commit
c459ba4a5d
3 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. +2
    -0
      neercs/old/input.c
  2. +5
    -0
      neercs/old/server.c
  3. +3
    -0
      neercs/old/term.c

+ 2
- 0
neercs/old/input.c Vedi File

@@ -76,6 +76,7 @@ int handle_command_input(struct screen_list *screen_list, unsigned int c)
{
int refresh = 0;

#if !defined _WIN32
debug("Key %x\n", c);
screen_list->changed = 1;

@@ -191,6 +192,7 @@ int handle_command_input(struct screen_list *screen_list, unsigned int c)
break;
#endif
}
#endif /* _WIN32 */
return refresh;

}

+ 5
- 0
neercs/old/server.c Vedi File

@@ -683,4 +683,9 @@ long long get_us(void)
return (tv.tv_sec * (1000000) + tv.tv_usec);
}

#else
/* FIXME: unimplemented */
long long get_us(void) { return 0; }
int send_ansi_sequence(struct screen_list *screen_list, char *str) { return 0; }
#endif


+ 3
- 0
neercs/old/term.c Vedi File

@@ -136,5 +136,8 @@ int update_terms(struct screen_list *screen_list)
return refresh;
}

#else
/* FIXME: unimplemented */
int set_tty_size(int fd, unsigned int w, unsigned int h) { return 0; }
#endif


Caricamento…
Annulla
Salva