[Windows] undefine DELETE macro if defined

This commit is contained in:
Martin Brodbeck 2018-08-15 14:04:56 +02:00
parent 9dd0e5fd28
commit 8319ed6837

View file

@ -8,6 +8,10 @@
#include <libusb-1.0/libusb.h> #include <libusb-1.0/libusb.h>
#ifdef DELETE
#undef DELETE
#endif
struct SupportedPrinters { struct SupportedPrinters {
std::array<std::tuple<int, int, int>, 2> models{ std::array<std::tuple<int, int, int>, 2> models{
// {Vendor ID, Model ID, Endpoint} // {Vendor ID, Model ID, Endpoint}