libusb1.0.21-1 from cygwin does not work when usbasp is installed with libusb0 driver installed!
@@ -43,8 +43,12 @@ | ||
43 | 43 | #if defined(HAVE_LIBUSB) || defined(HAVE_LIBUSB_1_0) |
44 | 44 | |
45 | 45 | #ifdef HAVE_LIBUSB_1_0 |
46 | +// libusb1.0.21-1 from cygwin does not work when usbasp is installed with libusb0 driver installed! | |
47 | +#if defined(HAVE_LIBUSB) && (defined(__CYGWIN__) || defined(__MINGW32__) || defined(_MSC_VER)) | |
48 | +#else | |
46 | 49 | # define USE_LIBUSB_1_0 |
47 | 50 | #endif |
51 | +#endif | |
48 | 52 | |
49 | 53 | #if defined(USE_LIBUSB_1_0) |
50 | 54 | # if defined(HAVE_LIBUSB_1_0_LIBUSB_H) |