X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftest.priv.h;h=7788faa061b271d0ba48baadda4cb99575485486;hp=51d52a83ceb2d4ff165ae0913cb469ba60ce05ca;hb=e8685f5e4152389b53ff6399d533b9c6476540f1;hpb=9de646fe8f944e760d453b57e01b866d1d514ad7 diff --git a/test/test.priv.h b/test/test.priv.h index 51d52a83..7788faa0 100644 --- a/test/test.priv.h +++ b/test/test.priv.h @@ -29,7 +29,7 @@ /**************************************************************************** * Author: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: test.priv.h,v 1.103 2011/03/22 09:15:45 tom Exp $ */ +/* $Id: test.priv.h,v 1.105 2011/04/09 20:41:51 tom Exp $ */ #ifndef __TEST_PRIV_H #define __TEST_PRIV_H 1 @@ -222,6 +222,13 @@ #define NO_LEAKS 0 #endif +/* + * Workaround for HPUX + */ +#if defined(__hpux) && !defined(NCURSES_VERSION) +#define _ACS_COMPAT_CODE /* needed for acs_map vs __acs_map */ +#endif + #include #include #include @@ -269,17 +276,14 @@ /* * Not all curses.h implementations include unctrl.h, - * Solaris 10 xpg4 for example. */ -#if defined(NCURSES_VERSION) || defined(_XOPEN_CURSES) -#if defined(HAVE_NCURSESW_NCURSES_H) +#if defined(HAVE_NCURSESW_UNCTRL_H) #include -#elif defined(HAVE_NCURSES_NCURSES_H) +#elif defined(HAVE_NCURSES_UNCTRL_H) #include -#else +#elif defined(HAVE_UNCTRL_H) #include #endif -#endif #if HAVE_GETOPT_H #include