Fix compilation issues for sdl when HAVE_BUTTON_DATA is not defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f85c04469e
commit
5664d8412d
1 changed files with 4 additions and 0 deletions
|
@ -31,7 +31,11 @@
|
|||
bool button_hold(void);
|
||||
*/
|
||||
void button_init_device(void);
|
||||
#ifdef HAVE_BUTTON_DATA
|
||||
int button_read_device(int *data);
|
||||
#else
|
||||
int button_read_device(void);
|
||||
#endif
|
||||
|
||||
/* Main unit's buttons */
|
||||
#define BUTTON_UP 0x00000001
|
||||
|
|
Loading…
Reference in a new issue