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:
Charles Davis 2016-02-16 13:51:19 -07:00 committed by Alexandre Julliard
parent e6e0bc4a06
commit 4dba8a4e27
2 changed files with 4 additions and 4 deletions

View file

@ -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)"

View file

@ -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)"