mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Removed Windows CE support from SDL 2.0.
It's a long-dead platform, and we don't have any way to build for, test, or maintain it, so there's no sense in doing acrobatics to support it. If you need Windows CE support, use SDL 1.2. If you need Windows Phone support, send SDL 2.0 patches for the newer Windows Mobile platform.
This commit is contained in:
@@ -49,14 +49,7 @@ SDL_LoadObject(const char *sofile)
|
||||
void *
|
||||
SDL_LoadFunction(void *handle, const char *name)
|
||||
{
|
||||
#ifdef _WIN32_WCE
|
||||
LPTSTR tstr = WIN_UTF8ToString(name);
|
||||
void *symbol = (void *) GetProcAddress((HMODULE) handle, tstr);
|
||||
SDL_free(tstr);
|
||||
#else
|
||||
void *symbol = (void *) GetProcAddress((HMODULE) handle, name);
|
||||
#endif
|
||||
|
||||
if (symbol == NULL) {
|
||||
char errbuf[512];
|
||||
SDL_strlcpy(errbuf, "Failed loading ", SDL_arraysize(errbuf));
|
||||
|
||||
Reference in New Issue
Block a user