Use #ifdef/#ifndef instead of #if defined/#if \!defined

This commit is contained in:
Anonymous Maarten
2023-03-30 20:26:31 +02:00
committed by Anonymous Maarten
parent 308bcbbe76
commit b6ae281e97
129 changed files with 450 additions and 450 deletions

View File

@@ -40,7 +40,7 @@
#define __FreeBSD_kernel_version __FreeBSD_version
#endif
#if defined(HAVE_USB_H)
#ifdef HAVE_USB_H
#include <usb.h>
#endif
#ifdef __DragonFly__
@@ -51,7 +51,7 @@
#include <dev/usb/usbhid.h>
#endif
#if defined(HAVE_USBHID_H)
#ifdef HAVE_USBHID_H
#include <usbhid.h>
#elif defined(HAVE_LIBUSB_H)
#include <libusb.h>