1diff --git a/darwin/config.h b/darwin/config.h 2new file mode 100644 3index 0000000..091a75a 4--- /dev/null 5+++ b/darwin/config.h 6@@ -0,0 +1,160 @@ 7+/* config.h. Generated from config.h.in by configure. */ 8+/* config.h.in. Generated from configure.ac by autoheader. */ 9+ 10+/* Define to the attribute for default visibility. */ 11+#define DEFAULT_VISIBILITY __attribute__ ((visibility ("default"))) 12+ 13+/* Define to 1 to start with debug message logging enabled. */ 14+/* #undef ENABLE_DEBUG_LOGGING */ 15+ 16+/* Define to 1 to enable message logging. */ 17+#define ENABLE_LOGGING 1 18+ 19+/* Define to 1 if you have the <asm/types.h> header file. */ 20+/* #undef HAVE_ASM_TYPES_H */ 21+ 22+/* Define to 1 if you have the `clock_gettime' function. */ 23+/* #undef HAVE_CLOCK_GETTIME */ 24+ 25+/* Define to 1 if you have the declaration of `EFD_CLOEXEC', and to 0 if you 26+ don't. */ 27+/* #undef HAVE_DECL_EFD_CLOEXEC */ 28+ 29+/* Define to 1 if you have the declaration of `EFD_NONBLOCK', and to 0 if you 30+ don't. */ 31+/* #undef HAVE_DECL_EFD_NONBLOCK */ 32+ 33+/* Define to 1 if you have the declaration of `TFD_CLOEXEC', and to 0 if you 34+ don't. */ 35+/* #undef HAVE_DECL_TFD_CLOEXEC */ 36+ 37+/* Define to 1 if you have the declaration of `TFD_NONBLOCK', and to 0 if you 38+ don't. */ 39+/* #undef HAVE_DECL_TFD_NONBLOCK */ 40+ 41+/* Define to 1 if you have the <dlfcn.h> header file. */ 42+#define HAVE_DLFCN_H 1 43+ 44+/* Define to 1 if the system has eventfd functionality. */ 45+/* #undef HAVE_EVENTFD */ 46+ 47+/* Define to 1 if you have the <inttypes.h> header file. */ 48+#define HAVE_INTTYPES_H 1 49+ 50+/* Define to 1 if you have the <IOKit/usb/IOUSBHostFamilyDefinitions.h> header 51+ file. */ 52+#define HAVE_IOKIT_USB_IOUSBHOSTFAMILYDEFINITIONS_H 1 53+ 54+/* Define to 1 if you have the `udev' library (-ludev). */ 55+/* #undef HAVE_LIBUDEV */ 56+ 57+/* Define to 1 if the system has the type `nfds_t'. */ 58+#define HAVE_NFDS_T 1 59+ 60+/* Define to 1 if you have the `pipe2' function. */ 61+/* #undef HAVE_PIPE2 */ 62+ 63+/* Define to 1 if you have the `pthread_condattr_setclock' function. */ 64+/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ 65+ 66+/* Define to 1 if you have the `pthread_setname_np' function. */ 67+/* #undef HAVE_PTHREAD_SETNAME_NP */ 68+ 69+/* Define to 1 if you have the `pthread_threadid_np' function. */ 70+#define HAVE_PTHREAD_THREADID_NP 1 71+ 72+/* Define to 1 if you have the <stdint.h> header file. */ 73+#define HAVE_STDINT_H 1 74+ 75+/* Define to 1 if you have the <stdio.h> header file. */ 76+#define HAVE_STDIO_H 1 77+ 78+/* Define to 1 if you have the <stdlib.h> header file. */ 79+#define HAVE_STDLIB_H 1 80+ 81+/* Define to 1 if you have the <strings.h> header file. */ 82+#define HAVE_STRINGS_H 1 83+ 84+/* Define to 1 if you have the <string.h> header file. */ 85+#define HAVE_STRING_H 1 86+ 87+/* Define to 1 if the system has the type `struct timespec'. */ 88+/* #undef HAVE_STRUCT_TIMESPEC */ 89+ 90+/* Define to 1 if you have the `syslog' function. */ 91+/* #undef HAVE_SYSLOG */ 92+ 93+/* Define to 1 if you have the <sys/stat.h> header file. */ 94+#define HAVE_SYS_STAT_H 1 95+ 96+/* Define to 1 if you have the <sys/time.h> header file. */ 97+#define HAVE_SYS_TIME_H 1 98+ 99+/* Define to 1 if you have the <sys/types.h> header file. */ 100+#define HAVE_SYS_TYPES_H 1 101+ 102+/* Define to 1 if the system has timerfd functionality. */ 103+/* #undef HAVE_TIMERFD */ 104+ 105+/* Define to 1 if you have the <unistd.h> header file. */ 106+#define HAVE_UNISTD_H 1 107+ 108+/* Define to the sub-directory where libtool stores uninstalled libraries. */ 109+#define LT_OBJDIR ".libs/" 110+ 111+/* Name of package */ 112+#define PACKAGE "libusb-1.0" 113+ 114+/* Define to the address where bug reports for this package should be sent. */ 115+#define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net" 116+ 117+/* Define to the full name of this package. */ 118+#define PACKAGE_NAME "libusb-1.0" 119+ 120+/* Define to the full name and version of this package. */ 121+#define PACKAGE_STRING "libusb-1.0 1.0.26" 122+ 123+/* Define to the one symbol short name of this package. */ 124+#define PACKAGE_TARNAME "libusb-1.0" 125+ 126+/* Define to the home page for this package. */ 127+#define PACKAGE_URL "http://libusb.info" 128+ 129+/* Define to the version of this package. */ 130+#define PACKAGE_VERSION "1.0.26" 131+ 132+/* Define to 1 if compiling for a POSIX platform. */ 133+#define PLATFORM_POSIX 1 134+ 135+/* Define to 1 if compiling for a Windows platform. */ 136+/* #undef PLATFORM_WINDOWS */ 137+ 138+/* Define to the attribute for enabling parameter checks on printf-like 139+ functions. */ 140+#define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b))) 141+ 142+/* Define to 1 if all of the C90 standard headers exist (not just the ones 143+ required in a freestanding environment). This macro is provided for 144+ backward compatibility; new code need not use it. */ 145+#define STDC_HEADERS 1 146+ 147+/* UMockdev hotplug code is not racy */ 148+/* #undef UMOCKDEV_HOTPLUG */ 149+ 150+/* Define to 1 to output logging messages to the systemwide log. */ 151+/* #undef USE_SYSTEM_LOGGING_FACILITY */ 152+ 153+/* Version number of package */ 154+#define VERSION "1.0.26" 155+ 156+/* Enable GNU extensions. */ 157+#define _GNU_SOURCE 1 158+ 159+/* Define to the oldest supported Windows version. */ 160+/* #undef _WIN32_WINNT */ 161+ 162+/* Define to `__inline__' or `__inline' if that's what the C compiler 163+ calls it, or to nothing if 'inline' is not supported under any name. */ 164+#ifndef __cplusplus 165+/* #undef inline */ 166+#endif 167diff --git a/linux/config.h b/linux/config.h 168new file mode 100644 169index 0000000..0b2bb97 170--- /dev/null 171+++ b/linux/config.h 172@@ -0,0 +1,155 @@ 173+/* config.h. Generated from config.h.in by configure. */ 174+/* config.h.in. Generated from configure.ac by autoheader. */ 175+ 176+/* Define to the attribute for default visibility. */ 177+#define DEFAULT_VISIBILITY __attribute__ ((visibility ("default"))) 178+ 179+/* Define to 1 to start with debug message logging enabled. */ 180+/* #undef ENABLE_DEBUG_LOGGING */ 181+ 182+/* Define to 1 to enable message logging. */ 183+#define ENABLE_LOGGING 1 184+ 185+/* Define to 1 if you have the <asm/types.h> header file. */ 186+#define HAVE_ASM_TYPES_H 1 187+ 188+/* Define to 1 if you have the `clock_gettime' function. */ 189+#define HAVE_CLOCK_GETTIME 1 190+ 191+/* Define to 1 if you have the declaration of `EFD_CLOEXEC', and to 0 if you 192+ don't. */ 193+#define HAVE_DECL_EFD_CLOEXEC 1 194+ 195+/* Define to 1 if you have the declaration of `EFD_NONBLOCK', and to 0 if you 196+ don't. */ 197+#define HAVE_DECL_EFD_NONBLOCK 1 198+ 199+/* Define to 1 if you have the declaration of `TFD_CLOEXEC', and to 0 if you 200+ don't. */ 201+#define HAVE_DECL_TFD_CLOEXEC 1 202+ 203+/* Define to 1 if you have the declaration of `TFD_NONBLOCK', and to 0 if you 204+ don't. */ 205+#define HAVE_DECL_TFD_NONBLOCK 1 206+ 207+/* Define to 1 if you have the <dlfcn.h> header file. */ 208+#define HAVE_DLFCN_H 1 209+ 210+/* Define to 1 if the system has eventfd functionality. */ 211+#define HAVE_EVENTFD 1 212+ 213+/* Define to 1 if you have the <inttypes.h> header file. */ 214+#define HAVE_INTTYPES_H 1 215+ 216+/* Define to 1 if you have the <IOKit/usb/IOUSBHostFamilyDefinitions.h> header 217+ file. */ 218+/* #undef HAVE_IOKIT_USB_IOUSBHOSTFAMILYDEFINITIONS_H */ 219+ 220+/* Define to 1 if you have the `udev' library (-ludev). */ 221+/* #undef HAVE_LIBUDEV */ 222+ 223+/* Define to 1 if you have the <memory.h> header file. */ 224+#define HAVE_MEMORY_H 1 225+ 226+/* Define to 1 if the system has the type `nfds_t'. */ 227+#define HAVE_NFDS_T 1 228+ 229+/* Define to 1 if you have the `pipe2' function. */ 230+#define HAVE_PIPE2 1 231+ 232+/* Define to 1 if you have the `pthread_condattr_setclock' function. */ 233+#define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 234+ 235+/* Define to 1 if you have the `pthread_setname_np' function. */ 236+#define HAVE_PTHREAD_SETNAME_NP 1 237+ 238+/* Define to 1 if you have the `pthread_threadid_np' function. */ 239+/* #undef HAVE_PTHREAD_THREADID_NP */ 240+ 241+/* Define to 1 if you have the <stdint.h> header file. */ 242+#define HAVE_STDINT_H 1 243+ 244+/* Define to 1 if you have the <stdlib.h> header file. */ 245+#define HAVE_STDLIB_H 1 246+ 247+/* Define to 1 if you have the <strings.h> header file. */ 248+#define HAVE_STRINGS_H 1 249+ 250+/* Define to 1 if you have the <string.h> header file. */ 251+#define HAVE_STRING_H 1 252+ 253+/* Define to 1 if the system has the type `struct timespec'. */ 254+/* #undef HAVE_STRUCT_TIMESPEC */ 255+ 256+/* Define to 1 if you have the `syslog' function. */ 257+/* #undef HAVE_SYSLOG */ 258+ 259+/* Define to 1 if you have the <sys/stat.h> header file. */ 260+#define HAVE_SYS_STAT_H 1 261+ 262+/* Define to 1 if you have the <sys/time.h> header file. */ 263+#define HAVE_SYS_TIME_H 1 264+ 265+/* Define to 1 if you have the <sys/types.h> header file. */ 266+#define HAVE_SYS_TYPES_H 1 267+ 268+/* Define to 1 if the system has timerfd functionality. */ 269+#define HAVE_TIMERFD 1 270+ 271+/* Define to 1 if you have the <unistd.h> header file. */ 272+#define HAVE_UNISTD_H 1 273+ 274+/* Define to the sub-directory where libtool stores uninstalled libraries. */ 275+#define LT_OBJDIR ".libs/" 276+ 277+/* Name of package */ 278+#define PACKAGE "libusb-1.0" 279+ 280+/* Define to the address where bug reports for this package should be sent. */ 281+#define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net" 282+ 283+/* Define to the full name of this package. */ 284+#define PACKAGE_NAME "libusb-1.0" 285+ 286+/* Define to the full name and version of this package. */ 287+#define PACKAGE_STRING "libusb-1.0 1.0.26" 288+ 289+/* Define to the one symbol short name of this package. */ 290+#define PACKAGE_TARNAME "libusb-1.0" 291+ 292+/* Define to the home page for this package. */ 293+#define PACKAGE_URL "http://libusb.info" 294+ 295+/* Define to the version of this package. */ 296+#define PACKAGE_VERSION "1.0.26" 297+ 298+/* Define to 1 if compiling for a POSIX platform. */ 299+#define PLATFORM_POSIX 1 300+ 301+/* Define to 1 if compiling for a Windows platform. */ 302+/* #undef PLATFORM_WINDOWS */ 303+ 304+/* Define to the attribute for enabling parameter checks on printf-like 305+ functions. */ 306+#define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b))) 307+ 308+/* Define to 1 if you have the ANSI C header files. */ 309+#define STDC_HEADERS 1 310+ 311+/* Define to 1 to output logging messages to the systemwide log. */ 312+/* #undef USE_SYSTEM_LOGGING_FACILITY */ 313+ 314+/* Version number of package */ 315+#define VERSION "1.0.26" 316+ 317+/* Enable GNU extensions. */ 318+#define _GNU_SOURCE 1 319+ 320+/* Define to the oldest supported Windows version. */ 321+/* #undef _WIN32_WINNT */ 322+ 323+/* Define to `__inline__' or `__inline' if that's what the C compiler 324+ calls it, or to nothing if 'inline' is not supported under any name. */ 325+#ifndef __cplusplus 326+/* #undef inline */ 327+#endif 328diff --git a/windows/config.h b/windows/config.h 329new file mode 100644 330index 0000000..038b06f 331--- /dev/null 332+++ b/windows/config.h 333@@ -0,0 +1,158 @@ 334+/* config.h. Generated from config.h.in by configure. */ 335+/* config.h.in. Generated from configure.ac by autoheader. */ 336+ 337+/* Define to the attribute for default visibility. */ 338+#define DEFAULT_VISIBILITY __attribute__ ((visibility ("default"))) 339+ 340+/* Define to 1 to start with debug message logging enabled. */ 341+/* #undef ENABLE_DEBUG_LOGGING */ 342+ 343+/* Define to 1 to enable message logging. */ 344+#define ENABLE_LOGGING 1 345+ 346+/* Define to 1 if you have the <asm/types.h> header file. */ 347+/* #undef HAVE_ASM_TYPES_H */ 348+ 349+/* Define to 1 if you have the `clock_gettime' function. */ 350+/* #undef HAVE_CLOCK_GETTIME */ 351+ 352+/* Define to 1 if you have the declaration of `EFD_CLOEXEC', and to 0 if you 353+ don't. */ 354+/* #undef HAVE_DECL_EFD_CLOEXEC */ 355+ 356+/* Define to 1 if you have the declaration of `EFD_NONBLOCK', and to 0 if you 357+ don't. */ 358+/* #undef HAVE_DECL_EFD_NONBLOCK */ 359+ 360+/* Define to 1 if you have the declaration of `TFD_CLOEXEC', and to 0 if you 361+ don't. */ 362+/* #undef HAVE_DECL_TFD_CLOEXEC */ 363+ 364+/* Define to 1 if you have the declaration of `TFD_NONBLOCK', and to 0 if you 365+ don't. */ 366+/* #undef HAVE_DECL_TFD_NONBLOCK */ 367+ 368+/* Define to 1 if you have the <dlfcn.h> header file. */ 369+/* #undef HAVE_DLFCN_H */ 370+ 371+/* Define to 1 if the system has eventfd functionality. */ 372+/* #undef HAVE_EVENTFD */ 373+ 374+/* Define to 1 if you have the <inttypes.h> header file. */ 375+#define HAVE_INTTYPES_H 1 376+ 377+/* Define to 1 if you have the <IOKit/usb/IOUSBHostFamilyDefinitions.h> header 378+ file. */ 379+/* #undef HAVE_IOKIT_USB_IOUSBHOSTFAMILYDEFINITIONS_H */ 380+ 381+/* Define to 1 if you have the `udev' library (-ludev). */ 382+/* #undef HAVE_LIBUDEV */ 383+ 384+/* Define to 1 if the system has the type `nfds_t'. */ 385+/* #undef HAVE_NFDS_T */ 386+ 387+/* Define to 1 if you have the `pipe2' function. */ 388+/* #undef HAVE_PIPE2 */ 389+ 390+/* Define to 1 if you have the `pthread_condattr_setclock' function. */ 391+/* #undef HAVE_PTHREAD_CONDATTR_SETCLOCK */ 392+ 393+/* Define to 1 if you have the `pthread_setname_np' function. */ 394+/* #undef HAVE_PTHREAD_SETNAME_NP */ 395+ 396+/* Define to 1 if you have the `pthread_threadid_np' function. */ 397+/* #undef HAVE_PTHREAD_THREADID_NP */ 398+ 399+/* Define to 1 if you have the <stdint.h> header file. */ 400+#define HAVE_STDINT_H 1 401+ 402+/* Define to 1 if you have the <stdio.h> header file. */ 403+#define HAVE_STDIO_H 1 404+ 405+/* Define to 1 if you have the <stdlib.h> header file. */ 406+#define HAVE_STDLIB_H 1 407+ 408+/* Define to 1 if you have the <strings.h> header file. */ 409+#define HAVE_STRINGS_H 1 410+ 411+/* Define to 1 if you have the <string.h> header file. */ 412+#define HAVE_STRING_H 1 413+ 414+/* Define to 1 if the system has the type `struct timespec'. */ 415+#define HAVE_STRUCT_TIMESPEC 1 416+ 417+/* Define to 1 if you have the `syslog' function. */ 418+/* #undef HAVE_SYSLOG */ 419+ 420+/* Define to 1 if you have the <sys/stat.h> header file. */ 421+#define HAVE_SYS_STAT_H 1 422+ 423+/* Define to 1 if you have the <sys/time.h> header file. */ 424+#define HAVE_SYS_TIME_H 1 425+ 426+/* Define to 1 if you have the <sys/types.h> header file. */ 427+#define HAVE_SYS_TYPES_H 1 428+ 429+/* Define to 1 if the system has timerfd functionality. */ 430+/* #undef HAVE_TIMERFD */ 431+ 432+/* Define to 1 if you have the <unistd.h> header file. */ 433+#define HAVE_UNISTD_H 1 434+ 435+/* Define to the sub-directory where libtool stores uninstalled libraries. */ 436+#define LT_OBJDIR ".libs/" 437+ 438+/* Name of package */ 439+#define PACKAGE "libusb-1.0" 440+ 441+/* Define to the address where bug reports for this package should be sent. */ 442+#define PACKAGE_BUGREPORT "libusb-devel@lists.sourceforge.net" 443+ 444+/* Define to the full name of this package. */ 445+#define PACKAGE_NAME "libusb-1.0" 446+ 447+/* Define to the full name and version of this package. */ 448+#define PACKAGE_STRING "libusb-1.0 1.0.26" 449+ 450+/* Define to the one symbol short name of this package. */ 451+#define PACKAGE_TARNAME "libusb-1.0" 452+ 453+/* Define to the home page for this package. */ 454+#define PACKAGE_URL "http://libusb.info" 455+ 456+/* Define to the version of this package. */ 457+#define PACKAGE_VERSION "1.0.26" 458+ 459+/* Define to 1 if compiling for a POSIX platform. */ 460+/* #undef PLATFORM_POSIX */ 461+ 462+/* Define to 1 if compiling for a Windows platform. */ 463+#define PLATFORM_WINDOWS 1 464+ 465+/* Define to the attribute for enabling parameter checks on printf-like 466+ functions. */ 467+#define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b))) 468+ 469+/* Define to 1 if all of the C90 standard headers exist (not just the ones 470+ required in a freestanding environment). This macro is provided for 471+ backward compatibility; new code need not use it. */ 472+#define STDC_HEADERS 1 473+ 474+/* UMockdev hotplug code is not racy */ 475+/* #undef UMOCKDEV_HOTPLUG */ 476+ 477+/* Define to 1 to output logging messages to the systemwide log. */ 478+/* #undef USE_SYSTEM_LOGGING_FACILITY */ 479+ 480+/* Version number of package */ 481+#define VERSION "1.0.26" 482+ 483+/* Enable GNU extensions. */ 484+#define _GNU_SOURCE 1 485+ 486+/* Define to `__inline__' or `__inline' if that's what the C compiler 487+ calls it, or to nothing if 'inline' is not supported under any name. */ 488+#ifndef __cplusplus 489+/* #undef inline */ 490+#endif 491+ 492