diff include/SDL_rwops.h @ 1446:47bf1767c4ca

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.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 27 Feb 2006 03:48:48 +0000
parents d910939febfa
children 515df0086eb7
line wrap: on
line diff
--- a/include/SDL_rwops.h	Mon Feb 27 01:32:12 2006 +0000
+++ b/include/SDL_rwops.h	Mon Feb 27 03:48:48 2006 +0000
@@ -62,11 +62,20 @@
 
 	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;