#undef interface for Win32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@770 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
8339bfa6f7
commit
876f79a141
|
@ -1,3 +1,7 @@
|
||||||
|
2008-03-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
* usb_libusb.c: #undef interface for Win32
|
||||||
|
|
||||||
2008-03-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2008-03-24 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
* avr910.c: Add support for the -x devcode option.
|
* avr910.c: Add support for the -x devcode option.
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
#include "usbdevs.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 char usbbuf[USBDEV_MAX_XFER];
|
||||||
static int buflen = -1, bufptr;
|
static int buflen = -1, bufptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue