~ubuntu-branches/debian/sid/ncurses/sid-200908151540

« back to all changes in this revision

Viewing changes to test/test.priv.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-24 15:13:01 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090524151301-uixgxq2zonfov2nr
Tags: 5.7+20090523-1
MergingĀ upstreamĀ versionĀ 5.7+20090523.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
/****************************************************************************
30
30
 *  Author: Thomas E. Dickey                    1996-on                     *
31
31
 ****************************************************************************/
32
 
/* $Id: test.priv.h,v 1.79 2008/10/04 21:53:41 tom Exp $ */
 
32
/* $Id: test.priv.h,v 1.81 2008/12/28 20:20:39 juergen Exp $ */
33
33
 
34
34
#ifndef __TEST_PRIV_H
35
35
#define __TEST_PRIV_H 1
359
359
#define KEY_MIN 256     /* not defined in Solaris 8 */
360
360
#endif
361
361
 
 
362
#define colored_chtype(ch, attr, pair) \
 
363
        ((ch) | (attr) | COLOR_PAIR(pair))
 
364
 
362
365
/*
363
366
 * Workaround for HPUX
364
367
 */
464
467
#define EXIT_FAILURE 1
465
468
#endif
466
469
 
 
470
#ifdef __MINGW32__
 
471
#include <nc_mingw.h>
 
472
/* conflicts in test/firstlast.c */
 
473
#undef large
 
474
#undef small
 
475
 
 
476
#endif
 
477
 
467
478
/* Use this to quiet gcc's -Wwrite-strings warnings, but accommodate SVr4
468
479
 * curses which doesn't have const parameters declared (so far) in the places
469
480
 * that XSI shows.
560
571
#define USING_SCREEN(s,func,data) use_screen(s, (NCURSES_SCREEN_CB) func, data)
561
572
#define WANT_USE_SCREEN() extern void _nc_want_use_screen(void)
562
573
#else
563
 
#define USING_SCREEN(s,func,data) func(s,data)
 
574
#define USING_SCREEN(s,func,data) func(data)
564
575
#define WANT_USE_SCREEN() extern void _nc_want_use_screen(void)
565
576
#endif
566
577