src/gui/keybind_setup.cpp: change ifdef for RC_HW_SELECT

This commit is contained in:
[CST] Focus
2013-01-11 14:04:48 +04:00
parent 6380763209
commit c9bf61511b

View File

@@ -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()
{