dinput: Don't define a debug channel when it isn't used.
Signed-off-by: Charles Davis <cdavis5x@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e6e0bc4a06
commit
4dba8a4e27
|
@ -65,10 +65,10 @@
|
|||
#include "device_private.h"
|
||||
#include "joystick_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dinput);
|
||||
|
||||
#ifdef HAVE_LINUX_22_JOYSTICK_API
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dinput);
|
||||
|
||||
#define JOYDEV_NEW "/dev/input/js"
|
||||
#define JOYDEV_OLD "/dev/js"
|
||||
#define JOYDEVDRIVER " (js)"
|
||||
|
|
|
@ -63,10 +63,10 @@
|
|||
#include "device_private.h"
|
||||
#include "joystick_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dinput);
|
||||
|
||||
#ifdef HAS_PROPER_HEADER
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(dinput);
|
||||
|
||||
#define EVDEVPREFIX "/dev/input/event"
|
||||
#define EVDEVDRIVER " (event)"
|
||||
|
||||
|
|
Loading…
Reference in New Issue