summaryrefslogtreecommitdiff
path: root/include/nc_tparm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nc_tparm.h')
-rw-r--r--include/nc_tparm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/nc_tparm.h b/include/nc_tparm.h
index a8dbcac..248f6c0 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-2010,2012 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,7 +30,7 @@
* 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.6 2012/02/18 21:34:42 tom Exp $ */
#ifndef NC_TPARM_included
#define NC_TPARM_included 1
@@ -40,8 +40,12 @@
* 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)