comparison src/loadso/windows/SDL_sysloadso.c @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents e8916fe9cfc8
children 327f181542f1
comparison
equal deleted inserted replaced
5087:e7680e2c9f3c 5088:c2539ff054c8
59 } 59 }
60 60
61 SDL_free(sofile_t); 61 SDL_free(sofile_t);
62 SDL_free(errbuf_t); 62 SDL_free(errbuf_t);
63 63
64 #else /*if defined(__WINDOWS__) */ 64 #else /*if defined(__WIN32__) */
65 char errbuf[512]; 65 char errbuf[512];
66 66
67 handle = (void *) LoadLibrary(sofile); 67 handle = (void *) LoadLibrary(sofile);
68 68
69 /* Generate an error message if all loads failed */ 69 /* Generate an error message if all loads failed */