#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:
joerg_wunsch 2008-03-29 22:10:11 +00:00
parent da0f0105bb
commit 48d2691469
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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;