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