Line 0
Link Here
|
|
|
1 |
--- src/drivers/Joystick.cpp.orig 2020-02-16 03:14:42.211192000 -0400 |
2 |
+++ src/drivers/Joystick.cpp 2020-02-16 03:15:02.909545000 -0400 |
3 |
@@ -32,7 +32,7 @@ |
4 |
#include "Joystick_SDL.h" |
5 |
#endif |
6 |
|
7 |
-#ifdef HAVE_LINUX_JOYSTICK |
8 |
+#if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__) |
9 |
#include "Joystick_Linux.h" |
10 |
#endif |
11 |
|
12 |
@@ -175,7 +175,7 @@ |
13 |
|
14 |
try |
15 |
{ |
16 |
- #ifdef HAVE_LINUX_JOYSTICK |
17 |
+ #if defined(HAVE_LINUX_JOYSTICK) && !defined(__FreeBSD__) |
18 |
main_driver = JoystickDriver_Linux_New(); |
19 |
#elif defined(WIN32) |
20 |
{ |