Update hidapi

This commit is contained in:
Robin Gareus
2024-09-03 19:34:44 +02:00
parent e4d9344d2a
commit 8fea1ea42e
14 changed files with 4812 additions and 1272 deletions

View File

@@ -50,6 +50,7 @@ def build(bld):
obj.source = 'mac/hid.c'
obj.framework = [ 'IOKit', 'CoreFoundation' ]
else:
# with '-strict' this needs "-std=gnu99" to compile w/o warnings
obj.source = 'linux/hid.c'
if re.search ("linux", sys.platform) != None:
obj.uselib = 'UDEV'