mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
src/gui/keybind_setup.cpp: change ifdef for RC_HW_SELECT
This commit is contained in:
@@ -33,20 +33,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COOLSTREAM_CS_IR_GENERIC_H
|
||||
/* define constants instead of #ifdef'ing the corresponding code.
|
||||
* the compiler will optimize it away anyway, but the syntax is
|
||||
* still checked */
|
||||
#define RC_HW_SELECT true
|
||||
#else
|
||||
#define RC_HW_SELECT false
|
||||
#ifdef HAVE_COOL_HARDWARE
|
||||
#warning header coolstream/cs_ir_generic.h not found
|
||||
#warning you probably have an old driver installation
|
||||
#warning you´ll be missing the remotecontrol selection feature!
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "keybind_setup.h"
|
||||
|
||||
#include <global.h>
|
||||
@@ -65,6 +51,19 @@
|
||||
|
||||
#include <system/debug.h>
|
||||
|
||||
#ifdef IOC_IR_SET_PRI_PROTOCOL
|
||||
/* define constants instead of #ifdef'ing the corresponding code.
|
||||
* the compiler will optimize it away anyway, but the syntax is
|
||||
* still checked */
|
||||
#define RC_HW_SELECT true
|
||||
#else
|
||||
#define RC_HW_SELECT false
|
||||
#ifdef HAVE_COOL_HARDWARE
|
||||
#warning header coolstream/cs_ir_generic.h not found
|
||||
#warning you probably have an old driver installation
|
||||
#warning you´ll be missing the remotecontrol selection feature!
|
||||
#endif
|
||||
#endif
|
||||
|
||||
CKeybindSetup::CKeybindSetup()
|
||||
{
|
||||
|
Reference in New Issue
Block a user