wrapped code in #if wxUSE_JOYSTICK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2000-03-29 06:27:52 +00:00
parent 3b1dca0421
commit 43c558d6c6
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 // wxUSE_JOYSTICK

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 // wxUSE_JOYSTICK