mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 06:28:29 +00:00
core: Convert SDL_IOReady()'s 2nd parameter to flags
This commit is contained in:

committed by
Sam Lantinga

parent
81fe2ccb9c
commit
c97c46877f
@@ -26,8 +26,10 @@
|
||||
|
||||
#include "SDL_stdinc.h"
|
||||
|
||||
#define SDL_IOR_READ 0x1
|
||||
#define SDL_IOR_WRITE 0x2
|
||||
|
||||
extern int SDL_IOReady(int fd, SDL_bool forWrite, int timeoutMS);
|
||||
extern int SDL_IOReady(int fd, int flags, int timeoutMS);
|
||||
|
||||
#endif /* SDL_poll_h_ */
|
||||
|
||||
|
Reference in New Issue
Block a user