Disable SDL sensor support on Windows. (#2655) It wasn't building cleanly with our existing Bazel overlay files and MSVC. Fixes https://github.com/google/iree/issues/2456
diff --git a/build_tools/third_party/sdl2/SDL_config_windows.h b/build_tools/third_party/sdl2/SDL_config_windows.h index 460fb3b..7626de6 100644 --- a/build_tools/third_party/sdl2/SDL_config_windows.h +++ b/build_tools/third_party/sdl2/SDL_config_windows.h
@@ -227,6 +227,9 @@ /* Enable filesystem support */ #define SDL_FILESYSTEM_WINDOWS 1 +/* Disable sensor support */ +#define SDL_SENSOR_DISABLED 1 + /* Enable assembly routines (Win64 doesn't have inline asm) */ #ifndef _WIN64 #define SDL_ASSEMBLY_ROUTINES 1