joystick made conditional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "joystick.h"
|
#pragma implementation "joystick.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if wxUSE_JOYSTICK
|
||||||
|
|
||||||
#include <linux/joystick.h>
|
#include <linux/joystick.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
|
|||||||
m_polling = 0;
|
m_polling = 0;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "joystick.h"
|
#pragma implementation "joystick.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if wxUSE_JOYSTICK
|
||||||
|
|
||||||
#include <linux/joystick.h>
|
#include <linux/joystick.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
|
|||||||
m_polling = 0;
|
m_polling = 0;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user