include/SDL_rwops.h
changeset 1446 47bf1767c4ca
parent 1402 d910939febfa
child 1447 515df0086eb7
     1.1 --- a/include/SDL_rwops.h	Mon Feb 27 01:32:12 2006 +0000
     1.2 +++ b/include/SDL_rwops.h	Mon Feb 27 03:48:48 2006 +0000
     1.3 @@ -62,11 +62,20 @@
     1.4  
     1.5  	Uint32 type;
     1.6  	union {
     1.7 -#ifdef HAVE_STDIO_H
     1.8 +
     1.9 +#ifdef HAVE_STDIO_H 
    1.10  	    struct {
    1.11  		int autoclose;
    1.12  	 	FILE *fp;
    1.13  	    } stdio;
    1.14 +#else
    1.15 +#ifdef __WIN32__
    1.16 +		struct {
    1.17 +			void*  h;
    1.18 +			int    autoclose;
    1.19 +			int    append;
    1.20 +		} win32io;
    1.21 +#endif
    1.22  #endif
    1.23  	    struct {
    1.24  		Uint8 *base;