Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems

This commit is contained in:
Sam Lantinga committed 2021-11-08 07:19:45 -08:00
1 parent 2a6feb5011
commit b8327a4a48
11 files changed
+23 -13

No files matched your search

+2 -2
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_