We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4755

Summary: [Patch] Fix setlocale issues in libusb hid.c
Product: SDL Reporter: Ethan Lee <flibitijibibo>
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Attachments: Fix setlocale issues in libusb hid.c

Description Ethan Lee 2019-08-07 03:12:46 UTC
Created attachment 3922 [details]
Fix setlocale issues in libusb hid.c

Not much to see here, just including a header that I should have included in the first place~

In addition to fixing the WIN32 TODO it also fixes some of the buildbot builds that had the same error. Kind of obvious in hindsight.

On that subject, the buildbot VMs may need to add libusb-devel files to get full test coverage for this feature.
Comment 1 Sam Lantinga 2019-08-07 06:08:04 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/200f23b4f8d2