changeset 26767:5f304bb41cd9

Keep AppleIR enabled by default on MacOSX but have it disable on Linux.
author ben
date Sun, 18 May 2008 12:11:17 +0000
parents c07699d06e62
children e92b50bfea22
files input/input.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Sun May 18 11:58:35 2008 +0000
+++ b/input/input.c	Sun May 18 12:11:17 2008 +0000
@@ -566,7 +566,11 @@
 static char* config_file = "input.conf";
 
 /* Apple Remote */
+#ifdef HAVE_APPLE_REMOTE
+static int use_ar = 1;
+#elif HAVE_APPLE_IR
 static int use_ar = 0;
+#endif
 
 static char* js_dev = NULL;
 static char* ar_dev = NULL;