Date: Mon, 27 Feb 2006 02:17:29 +0100

From: "William Petiot [exoide]"
Subject: Re: [SDL] cvs version: questions regarding HAVE_STDIO_H in standard w

I managed to get a first implementation of it, which I tested for "simple" use
with tests sample apps, they work ok. I think this needs more tests.

Here is the diff against CVS/SDL12, attached.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401450
This commit is contained in:
Sam Lantinga 2006-02-27 03:48:48 +00:00
parent 5e4bf29fa7
commit ec48a1ec62
2 changed files with 168 additions and 3 deletions

View file

@ -62,11 +62,20 @@ typedef struct SDL_RWops {
Uint32 type;
union {
#ifdef HAVE_STDIO_H
#ifdef HAVE_STDIO_H
struct {
int autoclose;
FILE *fp;
} stdio;
#else
#ifdef __WIN32__
struct {
void* h;
int autoclose;
int append;
} win32io;
#endif
#endif
struct {
Uint8 *base;