src/file/SDL_rwops.c
changeset 1269 905d5b482f2a
parent 1202 0748fbb272e7
child 1312 c9b51268668f
equal deleted inserted replaced
1268:f098b247299d 1269:905d5b482f2a
   236 {
   236 {
   237 	SDL_RWops *rwops;
   237 	SDL_RWops *rwops;
   238 
   238 
   239 #ifdef WIN32
   239 #ifdef WIN32
   240 	if ( ! in_sdl ) {
   240 	if ( ! in_sdl ) {
       
   241 		/* It's when SDL and the app are compiled with different C runtimes */
   241 		SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
   242 		SDL_SetError("You can't pass a FILE pointer to a DLL (?)");
   242 		/*return(NULL);*/
   243 		/*return(NULL);*/
   243 	}
   244 	}
   244 #endif
   245 #endif
   245 	rwops = SDL_AllocRW();
   246 	rwops = SDL_AllocRW();