mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Do not use the screen code when running under Windows NT.
committer: mfx <mfx> 978092789 +0000
This commit is contained in:
parent
5a497e2dac
commit
8a77a477df
|
@ -311,6 +311,15 @@ static int init(screen_t *this, int fd)
|
|||
if (getPage(this) != 0)
|
||||
return -1;
|
||||
|
||||
#if 1
|
||||
/* check for Windows NT/2000 */
|
||||
{
|
||||
unsigned v = _get_dos_version(1);
|
||||
if (v == 0x0532)
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
cols = ScreenCols();
|
||||
rows = ScreenRows();
|
||||
mode = getMode(this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user