Mercurial > sdl-ios-xcode
changeset 1457:337665b695d1
SetClassLongPtr isn't available in MinGW yet
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Mar 2006 09:56:51 +0000 |
parents | 84de7511f79f |
children | bf8db2d92be1 |
files | src/video/wincommon/SDL_syswm.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_syswm.c Wed Mar 01 09:43:47 2006 +0000 +++ b/src/video/wincommon/SDL_syswm.c Wed Mar 01 09:56:51 2006 +0000 @@ -220,6 +220,9 @@ if ( screen_icn == NULL ) { SDL_SetError("Couldn't create Win32 icon handle"); } else { +#ifndef SetClassLongPtr +#define SetClassLongPtr SetClassLong +#endif SetClassLongPtr(SDL_Window, GCL_HICON, (LONG_PTR)screen_icn); } SDL_stack_free(icon_win32);