OSDN Git Service

Workaround for Wine: It appears that Wine exports SetConsoleIcon() from kernel32...
authorlordmulder <mulder2@gmx.de>
Sat, 16 Apr 2011 22:17:43 +0000 (00:17 +0200)
committerlordmulder <mulder2@gmx.de>
Sat, 16 Apr 2011 22:17:43 +0000 (00:17 +0200)
commit99bd8c28ff15fd0be16fef13cac5ee4daceb62cc
treed5bb9458a41899e7eca3803f814673d827b0d596
parent60ac414c303b547e2753dd5de592047701252169
Workaround for Wine: It appears that Wine exports SetConsoleIcon() from kernel32.dll, but as soon as we call it the application will be terminated ("Unimplemented function KERNEL32.dll.SetConsoleIcon called"). Consequently we will now detect Wine and avoid calling SetConsoleIcon() under Wine. This way LameXP should work under Wine again.
doc/Changelog.html
src/Config.h
src/Global.cpp