mirror of
https://github.com/libusb/libusb
synced 2024-11-21 14:29:12 -07:00
make libusb.h usable with Watcom
Closes #904 Signed-off-by: Nathan Hjelm <hjelmn@google.com>
This commit is contained in:
parent
35e8ee98a3
commit
a2b81aeff1
2 changed files with 3 additions and 3 deletions
|
@ -904,7 +904,7 @@ struct libusb_container_id_descriptor {
|
|||
|
||||
/** \ingroup libusb_asyncio
|
||||
* Setup packet for control transfers. */
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__WATCOMC__)
|
||||
#pragma pack(push, 1)
|
||||
#endif
|
||||
struct libusb_control_setup {
|
||||
|
@ -932,7 +932,7 @@ struct libusb_control_setup {
|
|||
/** Number of bytes to transfer */
|
||||
uint16_t wLength;
|
||||
} LIBUSB_PACKED;
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__WATCOMC__)
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
#define LIBUSB_NANO 11615
|
||||
#define LIBUSB_NANO 11617
|
||||
|
|
Loading…
Reference in a new issue