[Windows] undefine DELETE macro if defined
This commit is contained in:
parent
9dd0e5fd28
commit
8319ed6837
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue