mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
rwops: Fixed 64-bit file i/o on QNX.
This commit is contained in:
parent
e83764a5e0
commit
c7b4f2b92e
@ -18,8 +18,14 @@
|
|||||||
misrepresented as being the original software.
|
misrepresented as being the original software.
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* We won't get fseeko64 on QNX if _LARGEFILE64_SOURCE is defined, but the
|
||||||
|
configure script knows the C runtime has it and enables it. */
|
||||||
|
#ifndef __QNXNTO__
|
||||||
/* Need this so Linux systems define fseek64o, ftell64o and off64_t */
|
/* Need this so Linux systems define fseek64o, ftell64o and off64_t */
|
||||||
#define _LARGEFILE64_SOURCE
|
#define _LARGEFILE64_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../SDL_internal.h"
|
#include "../SDL_internal.h"
|
||||||
|
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__)
|
||||||
|
Loading…
Reference in New Issue
Block a user