X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fnc_tparm.h;h=ed10173ab6ed9e80a60dd9d3ad051e1272326140;hp=a8dbcacb1e3146e2299b02ebcffd505a1db78adc;hb=71244b7927a8918c0b09a8eb13b017ef0ebb6de8;hpb=f79b52fddd95c7a6f1ead29ef9c39eb8cdf60795 diff --git a/include/nc_tparm.h b/include/nc_tparm.h index a8dbcacb..ed10173a 100644 --- a/include/nc_tparm.h +++ b/include/nc_tparm.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006,2010 Free Software Foundation, Inc. * + * Copyright (c) 2006-2012,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,18 +30,25 @@ * Author: Thomas E. Dickey 2006 * ****************************************************************************/ -/* $Id: nc_tparm.h,v 1.5 2010/12/25 20:27:22 tom Exp $ */ +/* $Id: nc_tparm.h,v 1.8 2017/07/22 17:09:46 tom Exp $ */ #ifndef NC_TPARM_included #define NC_TPARM_included 1 +#include +#include + /* * Cast parameters past the formatting-string for tparm() to match the * assumption of the varargs code. */ #ifndef TPARM_ARG +#ifdef NCURSES_TPARM_ARG +#define TPARM_ARG NCURSES_TPARM_ARG +#else #define TPARM_ARG long #endif +#endif /* TPARAM_ARG */ #define TPARM_N(n) (TPARM_ARG)(n)