mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04:00
fc3eed3845
On some compilers an empty definition (e.g. -DHID_API_EXPORT) means the same as `=1` (i.e. -DHID_API_EXPORT=1), but the HID_API_EXPORT macro should be empty in static library build case. Having a separate compiler definition flag solves that issue.