mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
309fba0a61
PR: 15939 Submitted by: Maintainer
21 lines
472 B
Plaintext
21 lines
472 B
Plaintext
--- src/screens.c.orig Sat Oct 23 19:26:41 1999
|
|
+++ src/screens.c Wed Jan 5 22:15:00 2000
|
|
@@ -1979,7 +1979,7 @@
|
|
|
|
void CalibrateJoystick(int player_nr)
|
|
{
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
|
|
struct joystick joy_ctrl;
|
|
#else
|
|
struct joystick_control
|
|
@@ -2044,7 +2044,7 @@
|
|
|
|
BackToFront();
|
|
|
|
-#ifdef __FreeBSD__
|
|
+#if defined(__FreeBSD__) && !defined(NO_JOYSTICK)
|
|
joy_ctrl.b1 = joy_ctrl.b2 = 0;
|
|
#else
|
|
joy_ctrl.buttons = 0;
|