]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/curses.priv.h
ncurses 5.9 - patch 20140412
[ncurses.git] / ncurses / curses.priv.h
index 6d3a861bb2e8499a87d7598100060fb5684e1f97..5f16c995b9581e17be29514952abb82dfc5825bc 100644 (file)
@@ -34,7 +34,7 @@
  ****************************************************************************/
 
 /*
  ****************************************************************************/
 
 /*
- * $Id: curses.priv.h,v 1.531 2014/03/08 19:58:54 tom Exp $
+ * $Id: curses.priv.h,v 1.533 2014/04/13 00:16:21 tom Exp $
  *
  *     curses.priv.h
  *
  *
  *     curses.priv.h
  *
@@ -179,6 +179,18 @@ extern int errno;
 #define USE_SIGWINCH 0
 #endif
 
 #define USE_SIGWINCH 0
 #endif
 
+/*
+ * When building in the MSYS2 environment, the automatic discovery of
+ * the path separator in configure doesn't work properly. So, if building
+ * for MinGW, we enforce the correct Windows PATH separator
+ */
+#ifdef __MINGW32__
+#  ifdef NCURSES_PATHSEP
+#    undef NCURSES_PATHSEP
+#  endif
+#  define NCURSES_PATHSEP ';'
+#endif
+
 /*
  * If desired, one can configure this, disabling environment variables that
  * point to custom terminfo/termcap locations.
 /*
  * If desired, one can configure this, disabling environment variables that
  * point to custom terminfo/termcap locations.
@@ -2226,6 +2238,7 @@ typedef struct _termInfo
 
 typedef struct term_driver {
     bool   isTerminfo;
 
 typedef struct term_driver {
     bool   isTerminfo;
+    const char* (*td_name)(struct DriverTCB*);
     bool   (*td_CanHandle)(struct DriverTCB*, const char*, int*);
     void   (*td_init)(struct DriverTCB*);
     void   (*td_release)(struct DriverTCB*);
     bool   (*td_CanHandle)(struct DriverTCB*, const char*, int*);
     void   (*td_init)(struct DriverTCB*);
     void   (*td_release)(struct DriverTCB*);