From 05d96ddd11074afa84824f41f9fd73ecd869c898 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 22 Oct 2012 15:35:19 -0700 Subject: [PATCH] Fixed compiling fseek64o on Linux systems --- src/file/SDL_rwops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index df6b8fbca..3c519ef98 100644 --- a/src/file/SDL_rwops.c +++ b/src/file/SDL_rwops.c @@ -18,6 +18,8 @@ misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ +/* Need this so Linux systems define fseek64o, ftell64o and off64_t */ +#define _LARGEFILE64_SOURCE #include "SDL_config.h" /* This file provides a general interface for SDL to read and write