소스 검색

Fixed duplicate definition of SDL_JoystickID

Sam Lantinga 7 년 전
부모
커밋
c5bcefa7e8
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      include/SDL_sensor.h

+ 1 - 2
include/SDL_sensor.h

@@ -57,8 +57,7 @@ typedef struct _SDL_Sensor SDL_Sensor;
  *
  * The ID value starts at 0 and increments from there. The value -1 is an invalid ID.
  */
-typedef Sint32 SDL_JoystickID;
-typedef int SDL_SensorID;
+typedef Sint32 SDL_SensorID;
 
 /* The different sensor types */
 typedef enum