Some explanation on why SDL_RWFromFP doesn't always work on Win32
authorSam Lantinga <slouken@libsdl.org>
Thu, 26 Jan 2006 06:10:34 +0000
changeset 1269905d5b482f2a
parent 1268 f098b247299d
child 1270 b1425473be0f
Some explanation on why SDL_RWFromFP doesn't always work on Win32
src/file/SDL_rwops.c
     1.1 --- a/src/file/SDL_rwops.c	Thu Jan 26 06:06:56 2006 +0000
     1.2 +++ b/src/file/SDL_rwops.c	Thu Jan 26 06:10:34 2006 +0000
     1.3 @@ -238,6 +238,7 @@
     1.4  
     1.5  #ifdef WIN32
     1.6  	if ( ! in_sdl ) {
     1.7 +		/* It's when SDL and the app are compiled with different C runtimes */
     1.8  		SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
     1.9  		/*return(NULL);*/
    1.10  	}