kopia lustrzana https://github.com/Hamlib/Hamlib
Fix mingw32 compilation of usb_port.c
rodzic
2fca5f49b8
commit
72e934b67e
|
@ -35,10 +35,6 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
|
||||||
* Compile only if libusb is available
|
|
||||||
*/
|
|
||||||
#if defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
|
|
||||||
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -58,6 +54,10 @@
|
||||||
|
|
||||||
#include "usb_port.h"
|
#include "usb_port.h"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Compile only if libusb is available
|
||||||
|
*/
|
||||||
|
#if defined(HAVE_LIBUSB) && (defined(HAVE_LIBUSB_H) || defined(HAVE_LIBUSB_1_0_LIBUSB_H))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Find and open USB device
|
* \brief Find and open USB device
|
||||||
|
|
Ładowanie…
Reference in New Issue