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.
This commit is contained in:
John "Elwin" Edwards 2015-08-03 17:16:42 -04:00
parent 00142507db
commit 3b34109c93
2 changed files with 4 additions and 3 deletions

View file

@ -29,6 +29,9 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#elif defined(_WIN32) && defined(__PDCURSES__)
#define HAVE_ERASECHAR
#define HAVE_KILLCHAR
#endif
/* mdport functions */