Since there was no #include before the #if wxUSE_JOYSTICK then nothing
would ever be compiled in this module. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "joystick.h"
|
||||
#endif
|
||||
|
||||
#include <wx/joystick.h>
|
||||
|
||||
#if wxUSE_JOYSTICK
|
||||
|
||||
#include <linux/joystick.h>
|
||||
@@ -21,9 +24,9 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "wx/event.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/gtk/joystick.h"
|
||||
|
||||
#define JOYSTICK_AXE_MAX 32767
|
||||
#define JOYSTICK_AXE_MIN -32767
|
||||
|
Reference in New Issue
Block a user