Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems

This commit is contained in:
Sam Lantinga
2021-11-08 07:19:45 -08:00
parent 2a6feb5011
commit b8327a4a48
11 changed files with 23 additions and 13 deletions

View File

@@ -55,8 +55,8 @@
POSSIBILITY OF SUCH DAMAGE.
*
* If you would like a version of SDL without this code, you can build SDL
* with SDL_DISABLE_HIDAPI defined. You might want to do this for example on
* iOS or tvOS to avoid a dependency on the CoreBluetooth framework.
* with SDL_HIDAPI_DISABLED defined to 1. You might want to do this for example
* on iOS or tvOS to avoid a dependency on the CoreBluetooth framework.
*/
#ifndef SDL_hidapi_h_