First pass at Windows64 builds (not enabled by default) (resolve #710)

This commit is contained in:
Joshua Granick
2017-06-05 13:45:37 -07:00
parent 6589b22c6f
commit dca3b5926f
2 changed files with 36 additions and 9 deletions

View File

@@ -134,7 +134,12 @@ namespace lime {
if (SDL_GetWindowWMInfo (sdlWindow, &wminfo) == 1) {
HWND hwnd = wminfo.info.win.window;
#ifdef _WIN64
::SetClassLongPtr (hwnd, GCLP_HICON, reinterpret_cast<LONG>(icon));
#else
::SetClassLong (hwnd, GCL_HICON, reinterpret_cast<LONG>(icon));
#endif
}