Mercurial > hg > early-roguelike
comparison srogue/rogue.h @ 191:fb25a62680c7
srogue: clean up configuration in mdport.c.
curses.h is already included in rogue.h and doesn't need to be included
twice more in mdport.c.
Also set flags for some features when they are present.
author | John "Elwin" Edwards |
---|---|
date | Mon, 03 Aug 2015 17:16:42 -0400 |
parents | f4f6734771e0 |
children | 3de8058dd549 |
comparison
equal
deleted
inserted
replaced
190:f4f6734771e0 | 191:fb25a62680c7 |
---|---|
27 #define _IOSTRG 01 | 27 #define _IOSTRG 01 |
28 #endif | 28 #endif |
29 | 29 |
30 #ifdef HAVE_CONFIG_H | 30 #ifdef HAVE_CONFIG_H |
31 #include "config.h" | 31 #include "config.h" |
32 #elif defined(_WIN32) && defined(__PDCURSES__) | |
33 #define HAVE_ERASECHAR | |
34 #define HAVE_KILLCHAR | |
32 #endif | 35 #endif |
33 | 36 |
34 /* mdport functions */ | 37 /* mdport functions */ |
35 #ifdef HAVE_SYS_TYPES_H | 38 #ifdef HAVE_SYS_TYPES_H |
36 #include <sys/types.h> | 39 #include <sys/types.h> |