소스 검색

fix typo from commit b84f150d0669592f

Ozkan Sezer 1 년 전
부모
커밋
6fa6297441
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/hidapi/SDL_hidapi.c

+ 1 - 1
src/hidapi/SDL_hidapi.c

@@ -1242,7 +1242,7 @@ int SDL_hid_init(void)
         return -1;
     }
 
-#if defined(HAVE_PLATFORM_BACKEND) && !defined(SDL_HIDAPI_DISABLED)
+#if defined(SDL_PLATFORM_MACOS) && !defined(SDL_HIDAPI_DISABLED)
     hid_darwin_set_open_exclusive(0);
 #endif