summaryrefslogtreecommitdiff
path: root/os.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-09-07 01:53:10 +0200
committerFlorian Jung <flo@windfisch.org>2014-09-07 01:53:10 +0200
commitf498d6e01a79ef9509d4b3e39e9ef354d0f7428a (patch)
treeff0cf6556471f187c11a4f0a96312540eb9fedd4 /os.h
parent8bb8a119cf0bfea388e499f2d1bbcdbdd18d9db0 (diff)
use JOYSTICK_{UINPUT,PATCHEDINPUTPLUGIN} #defines instead of FREEBSD/LINUX
Diffstat (limited to 'os.h')
-rw-r--r--os.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os.h b/os.h
index 0b50040..abd90c1 100644
--- a/os.h
+++ b/os.h
@@ -1,2 +1,8 @@
//#define FREEBSD
#define LINUX
+
+#ifdef FREEBSD
+#define JOYSTICK_PATCHEDINPUTPLUGIN
+#else
+#define JOYSTICK_UINPUT
+#endif