diff 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
line wrap: on
line diff
--- a/srogue/rogue.h	Mon Aug 03 09:27:43 2015 -0400
+++ b/srogue/rogue.h	Mon Aug 03 17:16:42 2015 -0400
@@ -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 */