]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/curses.priv.h
ncurses 6.3 - patch 20221126
[ncurses.git] / ncurses / curses.priv.h
index 1e8ec70badc7c6005fe449009736a0e0e0b2455b..ff57cbf0ba90a04f584b73583e0294c0ce7c53a7 100644 (file)
@@ -35,7 +35,7 @@
  ****************************************************************************/
 
 /*
- * $Id: curses.priv.h,v 1.651 2022/08/13 14:35:01 tom Exp $
+ * $Id: curses.priv.h,v 1.653 2022/10/23 13:29:26 tom Exp $
  *
  *     curses.priv.h
  *
@@ -141,6 +141,10 @@ extern int errno;
 # endif
 #endif
 
+#ifndef PRIxPTR
+# define PRIxPTR       "lx"
+#endif
+
 /* include signal.h before curses.h to work-around defect in glibc 2.1.3 */
 #include <signal.h>
 
@@ -674,7 +678,7 @@ extern NCURSES_EXPORT(int) _nc_sigprocmask(int, const sigset_t *, sigset_t *);
 #define _nc_unlock_global(name)        /* nothing */
 #endif /* USE_PTHREADS */
 
-#if USE_PTHREADS_EINTR || defined(EXP_WIN32_DRIVER)
+#if USE_PTHREADS_EINTR
 extern NCURSES_EXPORT(void) _nc_set_read_thread(bool);
 #else
 #define _nc_set_read_thread(enable)    /* nothing */