[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
1 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@
#include <libusb-1.0/libusb.h>
#ifdef DELETE
#undef DELETE
#endif
struct SupportedPrinters {
std::array<std::tuple<int, int, int>, 2> models{
// {Vendor ID, Model ID, Endpoint}
@ -54,4 +58,4 @@ class PosPrinter
int printerEndpoint_{0x03};
};
#endif
#endif