VirtualBox

Changeset 105160 in vbox for trunk/src/bldprogs


Ignore:
Timestamp:
Jul 5, 2024 12:02:04 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163799
Message:

*.kmk,bldprogs/VBoxPeSetVersion: Created a unit for setting the PE version so it can more easily be controlled per target. This is helpful with the two GINA targets in the additions, since using NT 3.51 instead of NT 3.1 as minimum avoids trouble with some AV heuristics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/VBoxPeSetVersion.cpp

    r105153 r105160  
    497497                else
    498498                {
    499                     if (strcmp(psz, "nt31") == 0)
     499                    if (strcmp(psz, "default") == 0)
     500                        uNtVersion = 0;
     501                    else if (strcmp(psz, "nt31") == 0)
    500502                        uNtVersion = MK_VER(3,10);
    501503                    else if (strcmp(psz, "nt350") == 0)
     
    509511                    else if (strcmp(psz, "xp") == 0)
    510512                        uNtVersion = MK_VER(5,1);
    511                     else if (strcmp(psz, "w2k3") == 0)
     513                    else if (strcmp(psz, "w2k3") == 0 || strcmp(psz, "xp64") == 0)
    512514                        uNtVersion = MK_VER(5,2);
    513515                    else if (strcmp(psz, "vista") == 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette