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:
Karsten Ballüder 2000-03-27 11:20:54 +00:00
parent b963e7d546
commit bb4624242b
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,7 @@
#ifdef __GNUG__
#pragma implementation "joystick.h"
#endif
#if wxUSE_JOYSTICK
#include <linux/joystick.h>
#include <sys/types.h>
@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
m_polling = 0;
return TRUE;
}
#endif

View File

@ -12,6 +12,7 @@
#ifdef __GNUG__
#pragma implementation "joystick.h"
#endif
#if wxUSE_JOYSTICK
#include <linux/joystick.h>
#include <sys/types.h>
@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
m_polling = 0;
return TRUE;
}
#endif