summaryrefslogtreecommitdiff
blob: 40c4a8a39458f6676dbd21815371329b7f8b807e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
lirc.c:227:3: error: ‘gxine_lirc_thread’ undeclared (first use in this function)

--- src/lirc.c
+++ src/lirc.c
@@ -223,8 +223,8 @@
   if (gxine_lirc_thread_created)
     pthread_join (gxine_lirc_thread, NULL);
   gxine_lirc_start ();
-#endif
   JS_SET_RVAL (cx, vp, gxine_lirc_thread ? JSVAL_TRUE : JSVAL_FALSE);
+#endif
   return JS_TRUE;
 }