Added read-ahead support for Win32 file IO

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402450
This commit is contained in:
Sam Lantinga 2007-07-10 04:01:46 +00:00
parent 31d16a0542
commit 4b89904edb
2 changed files with 76 additions and 17 deletions

View file

@ -62,10 +62,15 @@ typedef struct SDL_RWops {
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