ncurses.h -> curses.h
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@129 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
2e89c7c3be
commit
0f9d024d26
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ INSTALL = install -c
|
||||||
DEFS = -DVERSION=\"$(VERSION)\"
|
DEFS = -DVERSION=\"$(VERSION)\"
|
||||||
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c mygetnstr.c stripgfx.c strlcpy.c strlcat.c y.tab.c lex.yy.c
|
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c mygetnstr.c stripgfx.c strlcpy.c strlcat.c y.tab.c lex.yy.c
|
||||||
OBJS = $(SRCS:.c=.o)
|
OBJS = $(SRCS:.c=.o)
|
||||||
LIBS = -lncurses -lcrypt -lutil -ll
|
LIBS = -lcurses -lcrypt -ll
|
||||||
|
|
||||||
all: $(NAME)
|
all: $(NAME)
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
/* program stuff */
|
/* program stuff */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ncurses.h>
|
#include <curses.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/file.h> /* for flock() */
|
#include <sys/file.h> /* for flock() */
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
/* Default - should work everywhere */
|
/* Default - should work everywhere */
|
||||||
#define USE_OPENPTY
|
#if defined(__linux__) || defined(BSD)
|
||||||
|
# define USE_OPENPTY
|
||||||
|
#endif
|
||||||
#define NOSTREAMS
|
#define NOSTREAMS
|
||||||
|
|
||||||
struct dg_user
|
struct dg_user
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* OF SUCH DAMAGE.
|
* OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ncurses.h>
|
#include <curses.h>
|
||||||
|
|
||||||
/* Assumes noecho(). */
|
/* Assumes noecho(). */
|
||||||
/* As with getnstr(), maxlen does not include the '\0' character. */
|
/* As with getnstr(), maxlen does not include the '\0' character. */
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ncurses.h>
|
#include <curses.h>
|
||||||
#include "ttyrec.h"
|
#include "ttyrec.h"
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "stripgfx.h"
|
#include "stripgfx.h"
|
||||||
|
|
Loading…
Reference in New Issue