libaltos: Avoid using strcmp and strchr on windows
authorKeith Packard <keithp@keithp.com>
Wed, 30 Sep 2020 22:53:38 +0000 (15:53 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 30 Sep 2020 22:53:38 +0000 (15:53 -0700)
commita8ced69631415e26329594f7f0ae98dec577d1ae
tree28216fa962429e9c6669353e9d3ca7129d065fa2
parent2d44477f5ab4ad82ba658eb327c25c61c8056035
libaltos: Avoid using strcmp and strchr on windows

At least one of these caused the library to not load on Windows
10. Work around that by changing the code to use vid/pid instead of
matching on the name provided back by the OS.

Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos_windows.c