From fa1a025d075247c3b4059fa44513ef07962ef5b6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 Jan 2006 06:10:34 +0000 Subject: [PATCH] Some explanation on why SDL_RWFromFP doesn't always work on Win32 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401272 --- src/file/SDL_rwops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index 1f3717629..dfd0e1db4 100644 --- a/src/file/SDL_rwops.c +++ b/src/file/SDL_rwops.c @@ -238,6 +238,7 @@ SDL_RWops *SDL_RWFromFP(FILE *fp, int autoclose) #ifdef WIN32 if ( ! in_sdl ) { + /* It's when SDL and the app are compiled with different C runtimes */ SDL_SetError("You can't pass a FILE pointer to a DLL (?)"); /*return(NULL);*/ }