Compile in hid_joypad.c only when HAVE_HID is defined

This commit is contained in:
twinaphex 2016-06-07 05:15:22 +02:00
parent b1fe3506d7
commit 175ec67112

View File

@ -440,9 +440,8 @@ INPUT
/*============================================================
INPUT (HID)
============================================================ */
#include "../input/drivers_joypad/hid_joypad.c"
#ifdef HAVE_HID
#include "../input/drivers_joypad/hid_joypad.c"
#include "../input/drivers_hid/null_hid.c"
#if defined(HAVE_LIBUSB) && defined(HAVE_THREADS)