windoze / tvision

Clone of Turbo Vision library at http://sourceforge.net/projects/tvision, by SET<set@users.sourceforge.net>
GNU General Public License v2.0
8 stars 2 forks source link

Correct WinNT driver type when using mingw-w64 on modern versions of Windows #1

Open guy-rouillier opened 6 years ago

guy-rouillier commented 6 years ago

Building with mingw-w64 7.2.0 on Windows 7 64-bit, the default driver is set to Win32 instead of WinNT; the correct default driver for this version of Windows is WinNT. Update conflib.pl to handle the combination of mingw-w64 7.2.0 and MSYS2. Both the 32-bit and 64-bit versions of MSYS2 report uname MSYS_NT-6.1.

Attached is diff for conflib.pl. conflib-diff.txt

set-soft commented 3 years ago

Be careful, those drivers aren't that different. Their name are for historic reasons, not really related to Windows NT vs Windows 95 differences. Both are good for any Win32 target.