Fixed compiling fseek64o on Linux systems
authorSam Lantinga <slouken@libsdl.org>
Mon, 22 Oct 2012 15:35:19 -0700
changeset 6643 673aed697ce6
parent 6642 b716011e53ce
child 6644 eacc8b228cef
Fixed compiling fseek64o on Linux systems
src/file/SDL_rwops.c
--- a/src/file/SDL_rwops.c	Sat Nov 03 18:43:36 2012 -0700
+++ b/src/file/SDL_rwops.c	Mon Oct 22 15:35:19 2012 -0700
@@ -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