usb 1.7.2-prebuild

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.github/workflows/prebuild.yml +62 -0
  2. package/.gitmodules +3 -0
  3. package/LICENSE +7 -0
  4. package/Readme.md +339 -0
  5. package/binding.gyp +90 -0
  6. package/libusb/.gitattributes +11 -0
  7. package/libusb/.private/README.txt +5 -0
  8. package/libusb/.private/bd.cmd +89 -0
  9. package/libusb/.private/bm.sh +54 -0
  10. package/libusb/.private/bwince.cmd +57 -0
  11. package/libusb/.private/post-rewrite.sh +28 -0
  12. package/libusb/.private/pre-commit.sh +42 -0
  13. package/libusb/.private/wbs.txt +61 -0
  14. package/libusb/.private/wbs_wince.txt +42 -0
  15. package/libusb/AUTHORS +78 -0
  16. package/libusb/COPYING +504 -0
  17. package/libusb/ChangeLog +211 -0
  18. package/libusb/INSTALL +234 -0
  19. package/libusb/INSTALL_WIN.txt +73 -0
  20. package/libusb/Makefile.am +28 -0
  21. package/libusb/NEWS +2 -0
  22. package/libusb/PORTING +94 -0
  23. package/libusb/README +28 -0
  24. package/libusb/README.git +41 -0
  25. package/libusb/TODO +2 -0
  26. package/libusb/Xcode/common.xcconfig +49 -0
  27. package/libusb/Xcode/debug.xcconfig +29 -0
  28. package/libusb/Xcode/libusb.xcconfig +21 -0
  29. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
  30. package/libusb/Xcode/libusb_debug.xcconfig +21 -0
  31. package/libusb/Xcode/libusb_release.xcconfig +21 -0
  32. package/libusb/Xcode/release.xcconfig +30 -0
  33. package/libusb/android/README +114 -0
  34. package/libusb/android/jni/Android.mk +23 -0
  35. package/libusb/android/jni/Application.mk +24 -0
  36. package/libusb/android/jni/examples.mk +134 -0
  37. package/libusb/android/jni/libusb.mk +54 -0
  38. package/libusb/android/jni/tests.mk +56 -0
  39. package/libusb/autogen.sh +8 -0
  40. package/libusb/bootstrap.sh +19 -0
  41. package/libusb/configure.ac +304 -0
  42. package/libusb/doc/Makefile.am +9 -0
  43. package/libusb/doc/doxygen.cfg.in +1288 -0
  44. package/libusb/doc/libusb.png +0 -0
  45. package/libusb/examples/Makefile.am +19 -0
  46. package/libusb/examples/dpfp.c +506 -0
  47. package/libusb/examples/dpfp_threaded.c +544 -0
  48. package/libusb/examples/ezusb.c +831 -0
  49. package/libusb/examples/ezusb.h +120 -0
  50. package/libusb/examples/fxload.c +287 -0
  51. package/libusb/examples/getopt/getopt.c +1060 -0
  52. package/libusb/examples/getopt/getopt.h +180 -0
  53. package/libusb/examples/getopt/getopt1.c +188 -0
  54. package/libusb/examples/hotplugtest.c +104 -0
  55. package/libusb/examples/listdevs.c +71 -0
  56. package/libusb/examples/sam3u_benchmark.c +193 -0
  57. package/libusb/examples/xusb.c +1129 -0
  58. package/libusb/libusb/Makefile.am +75 -0
  59. package/libusb/libusb/core.c +2342 -0
  60. package/libusb/libusb/descriptor.c +1199 -0
  61. package/libusb/libusb/hotplug.c +327 -0
  62. package/libusb/libusb/hotplug.h +82 -0
  63. package/libusb/libusb/io.c +2631 -0
  64. package/libusb/libusb/libusb-1.0.def +166 -0
  65. package/libusb/libusb/libusb-1.0.rc +61 -0
  66. package/libusb/libusb/libusb.h +1998 -0
  67. package/libusb/libusb/libusbi.h +1040 -0
  68. package/libusb/libusb/os/darwin_usb.c +2009 -0
  69. package/libusb/libusb/os/darwin_usb.h +162 -0
  70. package/libusb/libusb/os/linux_netlink.c +369 -0
  71. package/libusb/libusb/os/linux_udev.c +307 -0
  72. package/libusb/libusb/os/linux_usbfs.c +2695 -0
  73. package/libusb/libusb/os/linux_usbfs.h +192 -0
  74. package/libusb/libusb/os/netbsd_usb.c +738 -0
  75. package/libusb/libusb/os/openbsd_usb.c +832 -0
  76. package/libusb/libusb/os/poll_posix.c +51 -0
  77. package/libusb/libusb/os/poll_posix.h +11 -0
  78. package/libusb/libusb/os/poll_windows.c +796 -0
  79. package/libusb/libusb/os/poll_windows.h +131 -0
  80. package/libusb/libusb/os/threads_posix.c +82 -0
  81. package/libusb/libusb/os/threads_posix.h +50 -0
  82. package/libusb/libusb/os/threads_windows.c +212 -0
  83. package/libusb/libusb/os/threads_windows.h +87 -0
  84. package/libusb/libusb/os/wince_usb.c +1032 -0
  85. package/libusb/libusb/os/wince_usb.h +131 -0
  86. package/libusb/libusb/os/windows_common.h +108 -0
  87. package/libusb/libusb/os/windows_usb.c +5347 -0
  88. package/libusb/libusb/os/windows_usb.h +971 -0
  89. package/libusb/libusb/strerror.c +199 -0
  90. package/libusb/libusb/sync.c +307 -0
  91. package/libusb/libusb/version.h +18 -0
  92. package/libusb/libusb/version_nano.h +1 -0
  93. package/libusb/libusb-1.0.pc.in +11 -0
  94. package/libusb/msvc/config.h +50 -0
  95. package/libusb/msvc/ddk_build.cmd +175 -0
  96. package/libusb/msvc/errno.h +102 -0
  97. package/libusb/msvc/fxload_2010.vcxproj +170 -0
  98. package/libusb/msvc/fxload_2010.vcxproj.filters +25 -0
  99. package/libusb/msvc/fxload_2012.vcxproj +174 -0
  100. package/libusb/msvc/fxload_2012.vcxproj.filters +25 -0
  101. package/libusb/msvc/fxload_2013.vcxproj +174 -0
  102. package/libusb/msvc/fxload_sources +23 -0
  103. package/libusb/msvc/getopt_2005.vcproj +288 -0
  104. package/libusb/msvc/getopt_2010.vcxproj +131 -0
  105. package/libusb/msvc/getopt_2010.vcxproj.filters +26 -0
  106. package/libusb/msvc/getopt_2012.vcxproj +136 -0
  107. package/libusb/msvc/getopt_2012.vcxproj.filters +26 -0
  108. package/libusb/msvc/getopt_2013.vcxproj +136 -0
  109. package/libusb/msvc/getopt_sources +20 -0
  110. package/libusb/msvc/hotplugtest_2010.vcxproj +163 -0
  111. package/libusb/msvc/hotplugtest_2010.vcxproj.filters +14 -0
  112. package/libusb/msvc/hotplugtest_2012.vcxproj +167 -0
  113. package/libusb/msvc/hotplugtest_2012.vcxproj.filters +14 -0
  114. package/libusb/msvc/hotplugtest_2013.vcxproj +167 -0
  115. package/libusb/msvc/hotplugtest_sources +20 -0
  116. package/libusb/msvc/inttypes.h +295 -0
  117. package/libusb/msvc/libusb.dsw +71 -0
  118. package/libusb/msvc/libusb_2005.sln +95 -0
  119. package/libusb/msvc/libusb_2010.sln +94 -0
  120. package/libusb/msvc/libusb_2012.sln +94 -0
  121. package/libusb/msvc/libusb_2013.sln +100 -0
  122. package/libusb/msvc/libusb_2015.sln +100 -0
  123. package/libusb/msvc/libusb_dll.dsp +194 -0
  124. package/libusb/msvc/libusb_dll_2005.vcproj +436 -0
  125. package/libusb/msvc/libusb_dll_2010.vcxproj +170 -0
  126. package/libusb/msvc/libusb_dll_2010.vcxproj.filters +81 -0
  127. package/libusb/msvc/libusb_dll_2012.vcxproj +175 -0
  128. package/libusb/msvc/libusb_dll_2012.vcxproj.filters +84 -0
  129. package/libusb/msvc/libusb_dll_2013.vcxproj +175 -0
  130. package/libusb/msvc/libusb_dll_wince.vcproj +1243 -0
  131. package/libusb/msvc/libusb_sources +38 -0
  132. package/libusb/msvc/libusb_static.dsp +174 -0
  133. package/libusb/msvc/libusb_static_2005.vcproj +362 -0
  134. package/libusb/msvc/libusb_static_2010.vcxproj +156 -0
  135. package/libusb/msvc/libusb_static_2010.vcxproj.filters +74 -0
  136. package/libusb/msvc/libusb_static_2012.vcxproj +160 -0
  137. package/libusb/msvc/libusb_static_2012.vcxproj.filters +74 -0
  138. package/libusb/msvc/libusb_static_2013.vcxproj +160 -0
  139. package/libusb/msvc/libusb_static_wince.vcproj +1185 -0
  140. package/libusb/msvc/libusb_wince.sln +246 -0
  141. package/libusb/msvc/listdevs.dsp +103 -0
  142. package/libusb/msvc/listdevs_2005.vcproj +360 -0
  143. package/libusb/msvc/listdevs_2010.vcxproj +165 -0
  144. package/libusb/msvc/listdevs_2010.vcxproj.filters +14 -0
  145. package/libusb/msvc/listdevs_2012.vcxproj +169 -0
  146. package/libusb/msvc/listdevs_2012.vcxproj.filters +14 -0
  147. package/libusb/msvc/listdevs_2013.vcxproj +169 -0
  148. package/libusb/msvc/listdevs_sources +19 -0
  149. package/libusb/msvc/listdevs_wince.vcproj +1120 -0
  150. package/libusb/msvc/missing.c +80 -0
  151. package/libusb/msvc/missing.h +32 -0
  152. package/libusb/msvc/stdint.h +256 -0
  153. package/libusb/msvc/stress_2005.vcproj +390 -0
  154. package/libusb/msvc/stress_2010.vcxproj +167 -0
  155. package/libusb/msvc/stress_2010.vcxproj.filters +25 -0
  156. package/libusb/msvc/stress_2012.vcxproj +171 -0
  157. package/libusb/msvc/stress_2012.vcxproj.filters +25 -0
  158. package/libusb/msvc/stress_2013.vcxproj +171 -0
  159. package/libusb/msvc/stress_wince.vcproj +1128 -0
  160. package/libusb/msvc/xusb.dsp +102 -0
  161. package/libusb/msvc/xusb_2005.vcproj +344 -0
  162. package/libusb/msvc/xusb_2010.vcxproj +163 -0
  163. package/libusb/msvc/xusb_2010.vcxproj.filters +14 -0
  164. package/libusb/msvc/xusb_2012.vcxproj +167 -0
  165. package/libusb/msvc/xusb_2012.vcxproj.filters +14 -0
  166. package/libusb/msvc/xusb_2013.vcxproj +167 -0
  167. package/libusb/msvc/xusb_sources +20 -0
  168. package/libusb/msvc/xusb_wince.vcproj +1120 -0
  169. package/libusb/tests/Makefile.am +6 -0
  170. package/libusb/tests/libusb_testlib.h +107 -0
  171. package/libusb/tests/stress.c +160 -0
  172. package/libusb/tests/testlib.c +281 -0
  173. package/libusb.gypi +136 -0
  174. package/libusb_config/config.h +1 -0
  175. package/package.json +69 -0
  176. package/src/device.cc +412 -0
  177. package/src/helpers.h +64 -0
  178. package/src/node_usb.cc +319 -0
  179. package/src/node_usb.h +120 -0
  180. package/src/transfer.cc +148 -0
  181. package/src/uv_async_queue.h +33 -0
  182. package/test/usb.coffee +191 -0
  183. package/usb.js +524 -0
@@ -0,0 +1,167 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectName>hotplugtest</ProjectName>
23
+ <ProjectGuid>{99D2AC64-DC66-4422-91CE-6715C403C9E5}</ProjectGuid>
24
+ <RootNamespace>examples</RootNamespace>
25
+ <Keyword>Win32Proj</Keyword>
26
+ </PropertyGroup>
27
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29
+ <ConfigurationType>Application</ConfigurationType>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <WholeProgramOptimization>true</WholeProgramOptimization>
32
+ <PlatformToolset>v110</PlatformToolset>
33
+ </PropertyGroup>
34
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
35
+ <ConfigurationType>Application</ConfigurationType>
36
+ <CharacterSet>Unicode</CharacterSet>
37
+ <PlatformToolset>v110</PlatformToolset>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <CharacterSet>Unicode</CharacterSet>
42
+ <WholeProgramOptimization>true</WholeProgramOptimization>
43
+ <PlatformToolset>v110</PlatformToolset>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <CharacterSet>Unicode</CharacterSet>
48
+ <PlatformToolset>v110</PlatformToolset>
49
+ </PropertyGroup>
50
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
51
+ <ImportGroup Label="ExtensionSettings">
52
+ </ImportGroup>
53
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
54
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55
+ </ImportGroup>
56
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
57
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58
+ </ImportGroup>
59
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
60
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+ </ImportGroup>
62
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
63
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64
+ </ImportGroup>
65
+ <PropertyGroup Label="UserMacros" />
66
+ <PropertyGroup>
67
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
68
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
69
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
70
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
71
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
72
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
73
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
74
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
75
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
76
+ </PropertyGroup>
77
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
78
+ <BuildLog>
79
+ <Path>$(IntDir)$(ProjectName).htm</Path>
80
+ </BuildLog>
81
+ <ClCompile>
82
+ <Optimization>Disabled</Optimization>
83
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
84
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85
+ <MinimalRebuild>true</MinimalRebuild>
86
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
87
+ <WarningLevel>Level3</WarningLevel>
88
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
89
+ </ClCompile>
90
+ <Link>
91
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
92
+ <GenerateDebugInformation>true</GenerateDebugInformation>
93
+ <SubSystem>Console</SubSystem>
94
+ <TargetMachine>MachineX86</TargetMachine>
95
+ </Link>
96
+ </ItemDefinitionGroup>
97
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
98
+ <BuildLog>
99
+ <Path>$(IntDir)$(ProjectName).htm</Path>
100
+ </BuildLog>
101
+ <Midl>
102
+ <TargetEnvironment>X64</TargetEnvironment>
103
+ </Midl>
104
+ <ClCompile>
105
+ <Optimization>Disabled</Optimization>
106
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
107
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108
+ <MinimalRebuild>true</MinimalRebuild>
109
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
110
+ <WarningLevel>Level3</WarningLevel>
111
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
112
+ </ClCompile>
113
+ <Link>
114
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
115
+ <GenerateDebugInformation>true</GenerateDebugInformation>
116
+ <SubSystem>Console</SubSystem>
117
+ <TargetMachine>MachineX64</TargetMachine>
118
+ </Link>
119
+ </ItemDefinitionGroup>
120
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
121
+ <BuildLog>
122
+ <Path>$(IntDir)$(ProjectName).htm</Path>
123
+ </BuildLog>
124
+ <ClCompile>
125
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
128
+ <WarningLevel>Level3</WarningLevel>
129
+ </ClCompile>
130
+ <Link>
131
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
132
+ <SubSystem>Console</SubSystem>
133
+ <TargetMachine>MachineX86</TargetMachine>
134
+ </Link>
135
+ </ItemDefinitionGroup>
136
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
137
+ <BuildLog>
138
+ <Path>$(IntDir)$(ProjectName).htm</Path>
139
+ </BuildLog>
140
+ <Midl>
141
+ <TargetEnvironment>X64</TargetEnvironment>
142
+ </Midl>
143
+ <ClCompile>
144
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
147
+ <WarningLevel>Level3</WarningLevel>
148
+ </ClCompile>
149
+ <Link>
150
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
151
+ <SubSystem>Console</SubSystem>
152
+ <TargetMachine>MachineX64</TargetMachine>
153
+ </Link>
154
+ </ItemDefinitionGroup>
155
+ <ItemGroup>
156
+ <ClCompile Include="..\examples\hotplugtest.c" />
157
+ </ItemGroup>
158
+ <ItemGroup>
159
+ <ProjectReference Include=".\libusb_static_2012.vcxproj">
160
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
161
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
162
+ </ProjectReference>
163
+ </ItemGroup>
164
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
165
+ <ImportGroup Label="ExtensionTargets">
166
+ </ImportGroup>
167
+ </Project>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <Filter Include="Source Files">
5
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+ </Filter>
8
+ </ItemGroup>
9
+ <ItemGroup>
10
+ <ClCompile Include="..\examples\hotplugtest.c">
11
+ <Filter>Source Files</Filter>
12
+ </ClCompile>
13
+ </ItemGroup>
14
+ </Project>
@@ -0,0 +1,167 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectName>hotplugtest</ProjectName>
23
+ <ProjectGuid>{99D2AC64-DC66-4422-91CE-6715C403C9E5}</ProjectGuid>
24
+ <RootNamespace>examples</RootNamespace>
25
+ <Keyword>Win32Proj</Keyword>
26
+ </PropertyGroup>
27
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29
+ <ConfigurationType>Application</ConfigurationType>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <WholeProgramOptimization>true</WholeProgramOptimization>
32
+ <PlatformToolset>v120</PlatformToolset>
33
+ </PropertyGroup>
34
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
35
+ <ConfigurationType>Application</ConfigurationType>
36
+ <CharacterSet>Unicode</CharacterSet>
37
+ <PlatformToolset>v120</PlatformToolset>
38
+ </PropertyGroup>
39
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
40
+ <ConfigurationType>Application</ConfigurationType>
41
+ <CharacterSet>Unicode</CharacterSet>
42
+ <WholeProgramOptimization>true</WholeProgramOptimization>
43
+ <PlatformToolset>v120</PlatformToolset>
44
+ </PropertyGroup>
45
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46
+ <ConfigurationType>Application</ConfigurationType>
47
+ <CharacterSet>Unicode</CharacterSet>
48
+ <PlatformToolset>v120</PlatformToolset>
49
+ </PropertyGroup>
50
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
51
+ <ImportGroup Label="ExtensionSettings">
52
+ </ImportGroup>
53
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
54
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
55
+ </ImportGroup>
56
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
57
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58
+ </ImportGroup>
59
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
60
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61
+ </ImportGroup>
62
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
63
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64
+ </ImportGroup>
65
+ <PropertyGroup Label="UserMacros" />
66
+ <PropertyGroup>
67
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
68
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
69
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
70
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
71
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
72
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
73
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
74
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
75
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
76
+ </PropertyGroup>
77
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
78
+ <BuildLog>
79
+ <Path>$(IntDir)$(ProjectName).htm</Path>
80
+ </BuildLog>
81
+ <ClCompile>
82
+ <Optimization>Disabled</Optimization>
83
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
84
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
85
+ <MinimalRebuild>true</MinimalRebuild>
86
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
87
+ <WarningLevel>Level3</WarningLevel>
88
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
89
+ </ClCompile>
90
+ <Link>
91
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
92
+ <GenerateDebugInformation>true</GenerateDebugInformation>
93
+ <SubSystem>Console</SubSystem>
94
+ <TargetMachine>MachineX86</TargetMachine>
95
+ </Link>
96
+ </ItemDefinitionGroup>
97
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
98
+ <BuildLog>
99
+ <Path>$(IntDir)$(ProjectName).htm</Path>
100
+ </BuildLog>
101
+ <Midl>
102
+ <TargetEnvironment>X64</TargetEnvironment>
103
+ </Midl>
104
+ <ClCompile>
105
+ <Optimization>Disabled</Optimization>
106
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
107
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
108
+ <MinimalRebuild>true</MinimalRebuild>
109
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
110
+ <WarningLevel>Level3</WarningLevel>
111
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
112
+ </ClCompile>
113
+ <Link>
114
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
115
+ <GenerateDebugInformation>true</GenerateDebugInformation>
116
+ <SubSystem>Console</SubSystem>
117
+ <TargetMachine>MachineX64</TargetMachine>
118
+ </Link>
119
+ </ItemDefinitionGroup>
120
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
121
+ <BuildLog>
122
+ <Path>$(IntDir)$(ProjectName).htm</Path>
123
+ </BuildLog>
124
+ <ClCompile>
125
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
126
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
127
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
128
+ <WarningLevel>Level3</WarningLevel>
129
+ </ClCompile>
130
+ <Link>
131
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
132
+ <SubSystem>Console</SubSystem>
133
+ <TargetMachine>MachineX86</TargetMachine>
134
+ </Link>
135
+ </ItemDefinitionGroup>
136
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
137
+ <BuildLog>
138
+ <Path>$(IntDir)$(ProjectName).htm</Path>
139
+ </BuildLog>
140
+ <Midl>
141
+ <TargetEnvironment>X64</TargetEnvironment>
142
+ </Midl>
143
+ <ClCompile>
144
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
145
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
146
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
147
+ <WarningLevel>Level3</WarningLevel>
148
+ </ClCompile>
149
+ <Link>
150
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
151
+ <SubSystem>Console</SubSystem>
152
+ <TargetMachine>MachineX64</TargetMachine>
153
+ </Link>
154
+ </ItemDefinitionGroup>
155
+ <ItemGroup>
156
+ <ClCompile Include="..\examples\hotplugtest.c" />
157
+ </ItemGroup>
158
+ <ItemGroup>
159
+ <ProjectReference Include=".\libusb_static_2013.vcxproj">
160
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
161
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
162
+ </ProjectReference>
163
+ </ItemGroup>
164
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
165
+ <ImportGroup Label="ExtensionTargets">
166
+ </ImportGroup>
167
+ </Project>
@@ -0,0 +1,20 @@
1
+ TARGETNAME=hotplugtest
2
+ TARGETTYPE=PROGRAM
3
+ 386_STDCALL=0
4
+
5
+ _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP)
6
+
7
+ !IFNDEF MSC_WARNING_LEVEL
8
+ MSC_WARNING_LEVEL=/W3
9
+ !ENDIF
10
+
11
+ !IFDEF STATIC_LIBC
12
+ USE_LIBCMT=1
13
+ !ELSE
14
+ USE_MSVCRT=1
15
+ !ENDIF
16
+
17
+ UMTYPE=console
18
+ INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH)
19
+ UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib
20
+ SOURCES=..\hotplugtest.c
@@ -0,0 +1,295 @@
1
+ /**
2
+ * This file has no copyright assigned and is placed in the Public Domain.
3
+ * This file was original part of the w64 mingw-runtime package.
4
+ */
5
+
6
+ /*
7
+ * THIS SOFTWARE IS NOT COPYRIGHTED
8
+ *
9
+ * Modified for libusb/MSVC: Pete Batard <pbatard@gmail.com>
10
+ *
11
+ * This source code is offered for use in the public domain. You may
12
+ * use, modify or distribute it freely.
13
+ *
14
+ * This code is distributed in the hope that it will be useful but
15
+ * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
16
+ * DISCLAIMED. This includes but is not limited to warranties of
17
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
+ *
19
+ * Date: 2010-04-02
20
+ */
21
+
22
+ #ifndef _MSC_VER
23
+ #error This header should only be used with Microsoft compilers
24
+ #endif
25
+
26
+ /* 7.8 Format conversion of integer types <inttypes.h> */
27
+
28
+ #ifndef _INTTYPES_H_
29
+ #define _INTTYPES_H_
30
+
31
+ #include <stdint.h>
32
+
33
+ #ifdef __cplusplus
34
+ extern "C" {
35
+ #endif
36
+
37
+ typedef struct {
38
+ intmax_t quot;
39
+ intmax_t rem;
40
+ } imaxdiv_t;
41
+
42
+
43
+ /* 7.8.1 Macros for format specifiers
44
+ *
45
+ * MS runtime does not yet understand C9x standard "ll"
46
+ * length specifier. It appears to treat "ll" as "l".
47
+ * The non-standard I64 length specifier causes warning in GCC,
48
+ * but understood by MS runtime functions.
49
+ */
50
+
51
+ /* fprintf macros for signed types */
52
+ #define PRId8 "d"
53
+ #define PRId16 "d"
54
+ #define PRId32 "d"
55
+ #define PRId64 "I64d"
56
+
57
+ #define PRIdLEAST8 "d"
58
+ #define PRIdLEAST16 "d"
59
+ #define PRIdLEAST32 "d"
60
+ #define PRIdLEAST64 "I64d"
61
+
62
+ #define PRIdFAST8 "d"
63
+ #define PRIdFAST16 "d"
64
+ #define PRIdFAST32 "d"
65
+ #define PRIdFAST64 "I64d"
66
+
67
+ #define PRIdMAX "I64d"
68
+
69
+ #define PRIi8 "i"
70
+ #define PRIi16 "i"
71
+ #define PRIi32 "i"
72
+ #define PRIi64 "I64i"
73
+
74
+ #define PRIiLEAST8 "i"
75
+ #define PRIiLEAST16 "i"
76
+ #define PRIiLEAST32 "i"
77
+ #define PRIiLEAST64 "I64i"
78
+
79
+ #define PRIiFAST8 "i"
80
+ #define PRIiFAST16 "i"
81
+ #define PRIiFAST32 "i"
82
+ #define PRIiFAST64 "I64i"
83
+
84
+ #define PRIiMAX "I64i"
85
+
86
+ #define PRIo8 "o"
87
+ #define PRIo16 "o"
88
+ #define PRIo32 "o"
89
+ #define PRIo64 "I64o"
90
+
91
+ #define PRIoLEAST8 "o"
92
+ #define PRIoLEAST16 "o"
93
+ #define PRIoLEAST32 "o"
94
+ #define PRIoLEAST64 "I64o"
95
+
96
+ #define PRIoFAST8 "o"
97
+ #define PRIoFAST16 "o"
98
+ #define PRIoFAST32 "o"
99
+ #define PRIoFAST64 "I64o"
100
+
101
+ #define PRIoMAX "I64o"
102
+
103
+ /* fprintf macros for unsigned types */
104
+ #define PRIu8 "u"
105
+ #define PRIu16 "u"
106
+ #define PRIu32 "u"
107
+ #define PRIu64 "I64u"
108
+
109
+
110
+ #define PRIuLEAST8 "u"
111
+ #define PRIuLEAST16 "u"
112
+ #define PRIuLEAST32 "u"
113
+ #define PRIuLEAST64 "I64u"
114
+
115
+ #define PRIuFAST8 "u"
116
+ #define PRIuFAST16 "u"
117
+ #define PRIuFAST32 "u"
118
+ #define PRIuFAST64 "I64u"
119
+
120
+ #define PRIuMAX "I64u"
121
+
122
+ #define PRIx8 "x"
123
+ #define PRIx16 "x"
124
+ #define PRIx32 "x"
125
+ #define PRIx64 "I64x"
126
+
127
+ #define PRIxLEAST8 "x"
128
+ #define PRIxLEAST16 "x"
129
+ #define PRIxLEAST32 "x"
130
+ #define PRIxLEAST64 "I64x"
131
+
132
+ #define PRIxFAST8 "x"
133
+ #define PRIxFAST16 "x"
134
+ #define PRIxFAST32 "x"
135
+ #define PRIxFAST64 "I64x"
136
+
137
+ #define PRIxMAX "I64x"
138
+
139
+ #define PRIX8 "X"
140
+ #define PRIX16 "X"
141
+ #define PRIX32 "X"
142
+ #define PRIX64 "I64X"
143
+
144
+ #define PRIXLEAST8 "X"
145
+ #define PRIXLEAST16 "X"
146
+ #define PRIXLEAST32 "X"
147
+ #define PRIXLEAST64 "I64X"
148
+
149
+ #define PRIXFAST8 "X"
150
+ #define PRIXFAST16 "X"
151
+ #define PRIXFAST32 "X"
152
+ #define PRIXFAST64 "I64X"
153
+
154
+ #define PRIXMAX "I64X"
155
+
156
+ /*
157
+ * fscanf macros for signed int types
158
+ * NOTE: if 32-bit int is used for int_fast8_t and int_fast16_t
159
+ * (see stdint.h, 7.18.1.3), FAST8 and FAST16 should have
160
+ * no length identifiers
161
+ */
162
+
163
+ #define SCNd16 "hd"
164
+ #define SCNd32 "d"
165
+ #define SCNd64 "I64d"
166
+
167
+ #define SCNdLEAST16 "hd"
168
+ #define SCNdLEAST32 "d"
169
+ #define SCNdLEAST64 "I64d"
170
+
171
+ #define SCNdFAST16 "hd"
172
+ #define SCNdFAST32 "d"
173
+ #define SCNdFAST64 "I64d"
174
+
175
+ #define SCNdMAX "I64d"
176
+
177
+ #define SCNi16 "hi"
178
+ #define SCNi32 "i"
179
+ #define SCNi64 "I64i"
180
+
181
+ #define SCNiLEAST16 "hi"
182
+ #define SCNiLEAST32 "i"
183
+ #define SCNiLEAST64 "I64i"
184
+
185
+ #define SCNiFAST16 "hi"
186
+ #define SCNiFAST32 "i"
187
+ #define SCNiFAST64 "I64i"
188
+
189
+ #define SCNiMAX "I64i"
190
+
191
+ #define SCNo16 "ho"
192
+ #define SCNo32 "o"
193
+ #define SCNo64 "I64o"
194
+
195
+ #define SCNoLEAST16 "ho"
196
+ #define SCNoLEAST32 "o"
197
+ #define SCNoLEAST64 "I64o"
198
+
199
+ #define SCNoFAST16 "ho"
200
+ #define SCNoFAST32 "o"
201
+ #define SCNoFAST64 "I64o"
202
+
203
+ #define SCNoMAX "I64o"
204
+
205
+ #define SCNx16 "hx"
206
+ #define SCNx32 "x"
207
+ #define SCNx64 "I64x"
208
+
209
+ #define SCNxLEAST16 "hx"
210
+ #define SCNxLEAST32 "x"
211
+ #define SCNxLEAST64 "I64x"
212
+
213
+ #define SCNxFAST16 "hx"
214
+ #define SCNxFAST32 "x"
215
+ #define SCNxFAST64 "I64x"
216
+
217
+ #define SCNxMAX "I64x"
218
+
219
+ /* fscanf macros for unsigned int types */
220
+
221
+ #define SCNu16 "hu"
222
+ #define SCNu32 "u"
223
+ #define SCNu64 "I64u"
224
+
225
+ #define SCNuLEAST16 "hu"
226
+ #define SCNuLEAST32 "u"
227
+ #define SCNuLEAST64 "I64u"
228
+
229
+ #define SCNuFAST16 "hu"
230
+ #define SCNuFAST32 "u"
231
+ #define SCNuFAST64 "I64u"
232
+
233
+ #define SCNuMAX "I64u"
234
+
235
+ #ifdef _WIN64
236
+ #define PRIdPTR "I64d"
237
+ #define PRIiPTR "I64i"
238
+ #define PRIoPTR "I64o"
239
+ #define PRIuPTR "I64u"
240
+ #define PRIxPTR "I64x"
241
+ #define PRIXPTR "I64X"
242
+ #define SCNdPTR "I64d"
243
+ #define SCNiPTR "I64i"
244
+ #define SCNoPTR "I64o"
245
+ #define SCNxPTR "I64x"
246
+ #define SCNuPTR "I64u"
247
+ #else
248
+ #define PRIdPTR "d"
249
+ #define PRIiPTR "i"
250
+ #define PRIoPTR "o"
251
+ #define PRIuPTR "u"
252
+ #define PRIxPTR "x"
253
+ #define PRIXPTR "X"
254
+ #define SCNdPTR "d"
255
+ #define SCNiPTR "i"
256
+ #define SCNoPTR "o"
257
+ #define SCNxPTR "x"
258
+ #define SCNuPTR "u"
259
+ #endif
260
+
261
+ #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
262
+ /*
263
+ * no length modifier for char types prior to C9x
264
+ * MS runtime scanf appears to treat "hh" as "h"
265
+ */
266
+
267
+ /* signed char */
268
+ #define SCNd8 "hhd"
269
+ #define SCNdLEAST8 "hhd"
270
+ #define SCNdFAST8 "hhd"
271
+
272
+ #define SCNi8 "hhi"
273
+ #define SCNiLEAST8 "hhi"
274
+ #define SCNiFAST8 "hhi"
275
+
276
+ #define SCNo8 "hho"
277
+ #define SCNoLEAST8 "hho"
278
+ #define SCNoFAST8 "hho"
279
+
280
+ #define SCNx8 "hhx"
281
+ #define SCNxLEAST8 "hhx"
282
+ #define SCNxFAST8 "hhx"
283
+
284
+ /* unsigned char */
285
+ #define SCNu8 "hhu"
286
+ #define SCNuLEAST8 "hhu"
287
+ #define SCNuFAST8 "hhu"
288
+ #endif /* __STDC_VERSION__ >= 199901 */
289
+
290
+
291
+ #ifdef __cplusplus
292
+ }
293
+ #endif
294
+
295
+ #endif /* ndef _INTTYPES_H */