Define mmask_t simliarly to chtype, to keep it to 32 bits.

This commit is contained in:
William McBrine
2019-01-20 14:30:09 -05:00
parent e68e72fb2c
commit ac444a4ae5

View File

@@ -100,6 +100,12 @@ typedef chtype attr_t;
*
*/
#if _LP64
typedef unsigned int mmask_t;
#else
typedef unsigned long mmask_t;
#endif
typedef struct
{
int x; /* absolute column, 0 based, measured in characters */
@@ -206,8 +212,6 @@ typedef struct
/* ncurses mouse interface */
typedef unsigned long mmask_t;
typedef struct
{
short id; /* unused, always 0 */