Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
70d49794
Commit
70d49794
authored
Sep 11, 2014
by
Austin English
Committed by
Alexandre Julliard
Sep 12, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineconsole: Only use getmouse when HAVE_MOUSEMASK is defined.
parent
6e64ccac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
curses.c
programs/wineconsole/curses.c
+5
-3
No files found.
programs/wineconsole/curses.c
View file @
70d49794
...
@@ -99,7 +99,6 @@ MAKE_FUNCPTR(getmaxx)
...
@@ -99,7 +99,6 @@ MAKE_FUNCPTR(getmaxx)
#ifndef getmaxy
#ifndef getmaxy
MAKE_FUNCPTR
(
getmaxy
)
MAKE_FUNCPTR
(
getmaxy
)
#endif
#endif
MAKE_FUNCPTR
(
getmouse
)
MAKE_FUNCPTR
(
has_colors
)
MAKE_FUNCPTR
(
has_colors
)
MAKE_FUNCPTR
(
init_pair
)
MAKE_FUNCPTR
(
init_pair
)
MAKE_FUNCPTR
(
initscr
)
MAKE_FUNCPTR
(
initscr
)
...
@@ -122,6 +121,7 @@ MAKE_FUNCPTR(waddchnstr)
...
@@ -122,6 +121,7 @@ MAKE_FUNCPTR(waddchnstr)
MAKE_FUNCPTR
(
wmove
)
MAKE_FUNCPTR
(
wmove
)
MAKE_FUNCPTR
(
wgetch
)
MAKE_FUNCPTR
(
wgetch
)
#ifdef HAVE_MOUSEMASK
#ifdef HAVE_MOUSEMASK
MAKE_FUNCPTR
(
getmouse
)
MAKE_FUNCPTR
(
mouseinterval
)
MAKE_FUNCPTR
(
mouseinterval
)
MAKE_FUNCPTR
(
mousemask
)
MAKE_FUNCPTR
(
mousemask
)
#endif
#endif
...
@@ -163,7 +163,6 @@ static BOOL WCCURSES_bind_libcurses(void)
...
@@ -163,7 +163,6 @@ static BOOL WCCURSES_bind_libcurses(void)
#ifndef getmaxy
#ifndef getmaxy
LOAD_FUNCPTR
(
getmaxy
)
LOAD_FUNCPTR
(
getmaxy
)
#endif
#endif
LOAD_FUNCPTR
(
getmouse
)
LOAD_FUNCPTR
(
has_colors
)
LOAD_FUNCPTR
(
has_colors
)
LOAD_FUNCPTR
(
init_pair
)
LOAD_FUNCPTR
(
init_pair
)
LOAD_FUNCPTR
(
initscr
)
LOAD_FUNCPTR
(
initscr
)
...
@@ -186,6 +185,7 @@ static BOOL WCCURSES_bind_libcurses(void)
...
@@ -186,6 +185,7 @@ static BOOL WCCURSES_bind_libcurses(void)
LOAD_FUNCPTR
(
wmove
)
LOAD_FUNCPTR
(
wmove
)
LOAD_FUNCPTR
(
wgetch
)
LOAD_FUNCPTR
(
wgetch
)
#ifdef HAVE_MOUSEMASK
#ifdef HAVE_MOUSEMASK
LOAD_FUNCPTR
(
getmouse
)
LOAD_FUNCPTR
(
mouseinterval
)
LOAD_FUNCPTR
(
mouseinterval
)
LOAD_FUNCPTR
(
mousemask
)
LOAD_FUNCPTR
(
mousemask
)
#endif
#endif
...
@@ -214,7 +214,6 @@ sym_not_found:
...
@@ -214,7 +214,6 @@ sym_not_found:
#ifndef getmaxy
#ifndef getmaxy
#define getmaxy p_getmaxy
#define getmaxy p_getmaxy
#endif
#endif
#define getmouse p_getmouse
#define has_colors p_has_colors
#define has_colors p_has_colors
#define init_pair p_init_pair
#define init_pair p_init_pair
#define initscr p_initscr
#define initscr p_initscr
...
@@ -222,8 +221,11 @@ sym_not_found:
...
@@ -222,8 +221,11 @@ sym_not_found:
#define intrflush p_intrflush
#define intrflush p_intrflush
#endif
#endif
#define keypad p_keypad
#define keypad p_keypad
#ifdef HAVE_MOUSEMASK
#define getmouse p_getmouse
#define mouseinterval p_mouseinterval
#define mouseinterval p_mouseinterval
#define mousemask p_mousemask
#define mousemask p_mousemask
#endif
#define newpad p_newpad
#define newpad p_newpad
#ifndef nodelay
#ifndef nodelay
#define nodelay p_nodelay
#define nodelay p_nodelay
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment