diff --git a/ChangeLog b/ChangeLog index aaa33d80..664ac2f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-03-24 Joerg Wunsch + + * usb_libusb.c: #undef interface for Win32 + 2008-03-24 Joerg Wunsch * avr910.c: Add support for the -x devcode option. diff --git a/usb_libusb.c b/usb_libusb.c index ce243ac3..25436272 100644 --- a/usb_libusb.c +++ b/usb_libusb.c @@ -42,6 +42,11 @@ #include "serial.h" #include "usbdevs.h" +#if defined(WIN32NATIVE) +/* someone has defined "interface" to "struct" in Cygwin */ +# undef interface +#endif + static char usbbuf[USBDEV_MAX_XFER]; static int buflen = -1, bufptr;