mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-25 00:05:16 +00:00
Define mmask_t simliarly to chtype, to keep it to 32 bits.
This commit is contained in:
8
curses.h
8
curses.h
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user