]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/curses.priv.h
ncurses 5.9 - patch 20111210
[ncurses.git] / ncurses / curses.priv.h
index b6ffea4d23aadff7765f9f0692cac3e49c0f3460..2dcc72545c5579a34c2ad2c5f4126c11184d8a9e 100644 (file)
@@ -34,7 +34,7 @@
  ****************************************************************************/
 
 /*
- * $Id: curses.priv.h,v 1.488 2011/10/22 22:41:12 tom Exp $
+ * $Id: curses.priv.h,v 1.490 2011/11/19 21:56:10 tom Exp $
  *
  *     curses.priv.h
  *
@@ -61,10 +61,6 @@ extern "C" {
 #define MODULE_ID(id) /*nothing*/
 #endif
 
-#if !(defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE))
-#define _POSIX_SOURCE
-#endif
-
 #include <stddef.h>            /* for offsetof */
 #include <stdlib.h>
 #include <string.h>
@@ -1200,7 +1196,7 @@ extern NCURSES_EXPORT_VAR(SIG_ATOMIC_T) _nc_have_sigwinch;
        WINDOWLIST *next;
        SCREEN *screen;         /* screen containing the window */
        WINDOW  win;            /* WINDOW_EXT() needs to account for offset */
-#ifdef NCURSES_WIDECHAR
+#if NCURSES_WIDECHAR
        char addch_work[(MB_LEN_MAX * 9) + 1];
        unsigned addch_used;    /* number of bytes in addch_work[] */
        int addch_x;            /* x-position for addch_work[] */