Windows: Add uint32_t typedef for old MSC so that DDK can build lsusb
authorPete Batard <pete@akeo.ie>
Sun, 18 Sep 2011 19:06:45 +0000 (20:06 +0100)
committerPeter Stuge <peter@stuge.se>
Mon, 17 Oct 2011 14:25:51 +0000 (16:25 +0200)
libusb/libusb.h

index aa440a3..85b98d1 100644 (file)
@@ -40,6 +40,7 @@
 #if defined(_MSC_VER) && (_MSC_VER < 1600) && (!defined(_STDINT)) && (!defined(_STDINT_H))
 typedef unsigned __int8   uint8_t;
 typedef unsigned __int16  uint16_t;
+typedef unsigned __int32  uint32_t;
 #else
 #include <stdint.h>
 #endif