src/file/SDL_rwops.c
changeset 11304 03d0ffb1f3dd
parent 11236 8c3cba28b1fd
child 11416 7e7d8a125d6a
     1.1 --- a/src/file/SDL_rwops.c	Mon Aug 14 23:45:06 2017 -0700
     1.2 +++ b/src/file/SDL_rwops.c	Tue Aug 15 16:30:26 2017 -0400
     1.3 @@ -18,8 +18,14 @@
     1.4       misrepresented as being the original software.
     1.5    3. This notice may not be removed or altered from any source distribution.
     1.6  */
     1.7 +
     1.8 +/* We won't get fseeko64 on QNX if _LARGEFILE64_SOURCE is defined, but the
     1.9 +   configure script knows the C runtime has it and enables it. */
    1.10 +#ifndef __QNXNTO__
    1.11  /* Need this so Linux systems define fseek64o, ftell64o and off64_t */
    1.12  #define _LARGEFILE64_SOURCE
    1.13 +#endif
    1.14 +
    1.15  #include "../SDL_internal.h"
    1.16  
    1.17  #if defined(__WIN32__)