[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Bump minimal supported Windows version to Windows 8 (0x0602). (#499)

Marcel Taeumel notifications at github.com
Tue May 12 06:42:18 UTC 2020


Also fixes a minor issue in MSVC Makefile for 64x64, which tried 0x0801 for Windows 8 and 0x1001 for Windows 10. The latter would actually be 0x0A00. See https://docs.microsoft.com/de-de/cpp/porting/modifying-winver-and-win32-winnt

Also in the Makefile for 64x64, define both _WIN32 and _WIN64. See https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros

Also in the Makefile for 64x64, define both WIN32 and WIN64 because those can be used to identify the Windows platform in application code such as in processors/IA32/bochs. I am not aware of any #ifdef WIN64 at the moment. Most code uses #ifdef _WIN64 to check for that.

Note that, having defined both _WIN32 and _WIN64, code for 32-bit and 64-bit must always begin with #ifdef _WIN64 and only then #elif _WIN32.

I think that the MSVC compiler defines _WIN32 and _WIN64 automatically. Yet, now it is documented in the Makefile.
You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499

-- Commit Summary --

  * Bump minimal supported Windows version to Windows 8 (0x0602).

-- File Changes --

    M build.win32x86/common/Makefile.msvc.tools (7)
    M build.win32x86/common/Makefile.tools (9)
    M build.win64x64/common/Makefile.msvc.tools (8)
    M build.win64x64/common/Makefile.tools (7)
    M platforms/win32/vm/sqWin32.h (41)
    M platforms/win32/vm/sqWin32Main.c (77)

-- Patch Links --

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499.patch
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/499
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200511/763cd3c3/attachment.html>


More information about the Vm-dev mailing list