diff include/SDL_rwops.h @ 4026:255b0469ca83 SDL-1.2

Added read-ahead support for Win32 file IO
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 04:01:46 +0000
parents 2eb75f8a32ca
children a1b03ba2fcd0
line wrap: on
line diff
--- a/include/SDL_rwops.h	Mon Jul 09 00:26:21 2007 +0000
+++ b/include/SDL_rwops.h	Tue Jul 10 04:01:46 2007 +0000
@@ -62,10 +62,15 @@
 
 	Uint32 type;
 	union {
-#ifdef __WIN32__
+#if defined(__WIN32__) && !defined(__SYMBIAN32__)
 	    struct {
-		int    append;
-		void*  h;
+		int   append;
+		void *h;
+		struct {
+		    void *data;
+		    int size;
+		    int left;
+		} buffer;
 	    } win32io;
 #endif
 #ifdef HAVE_STDIO_H