• R/O
  • SSH
  • HTTPS

avrdude: Commit


Commit MetaInfo

Revision1438 (tree)
Time2020-01-03 20:29:37
AuthorGottfried

Log Message

libusb1.0.21-1 from cygwin does not work when usbasp is installed with libusb0 driver installed!

Change Summary

Incremental Difference

--- trunk/usbasp.c (revision 1437)
+++ trunk/usbasp.c (revision 1438)
@@ -43,8 +43,12 @@
4343 #if defined(HAVE_LIBUSB) || defined(HAVE_LIBUSB_1_0)
4444
4545 #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
4649 # define USE_LIBUSB_1_0
4750 #endif
51+#endif
4852
4953 #if defined(USE_LIBUSB_1_0)
5054 # if defined(HAVE_LIBUSB_1_0_LIBUSB_H)
Show on old repository browser