aligned definitions of RW_SEEK_XXX with ones of <stdio.h>

This commit is contained in:
Sylvain PILLOT 2022-05-03 22:55:53 +02:00
parent 6bb0866e04
commit 05c3e3d81b
3 changed files with 3 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -119,9 +119,9 @@ extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops *area);
#ifdef HAVE_STDIO_H
#define RW_SEEK_SET 2 /**< Seek from the beginning of data */
#define RW_SEEK_CUR 0 /**< Seek relative to current read point */
#define RW_SEEK_END 1 /**< Seek relative to the end of data */
#define RW_SEEK_SET SEEK_SET /**< Seek from the beginning of data */
#define RW_SEEK_CUR SEEK_CUR /**< Seek relative to current read point */
#define RW_SEEK_END SEEK_END /**< Seek relative to the end of data */
#else
#define RW_SEEK_SET 0 /**< Seek from the beginning of data */
#define RW_SEEK_CUR 1 /**< Seek relative to current read point */