VirtualBox

Changeset 30423 in vbox for trunk


Ignore:
Timestamp:
Jun 24, 2010 12:01:36 PM (15 years ago)
Author:
vboxsync
Message:

Compile fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SystemPropertiesImpl.cpp

    r30422 r30423  
    3636#include <VBox/settings.h>
    3737#include <VBox/VBoxHDD.h>
    38 #ifdef RT_OS_WINDOWS
    39 #include <windows.h>
    40 #endif
    4138
    4239// defines
     
    208205#if HC_ARCH_BITS == 32 && !defined(RT_OS_DARWIN)
    209206# ifdef RT_OS_WINDOWS
    210     SYSTEMINFO sysInfo;
     207    SYSTEM_INFO sysInfo;
    211208    GetSystemInfo(&sysInfo);
    212209
    213     if (sysInfo.lpMaximumApplicationAddress >= 0xC0000000)   /* 3.0 GB */
     210    if (sysInfo.lpMaximumApplicationAddress >= (LPVOID)0xC0000000)   /* 3.0 GB */
    214211        maxRAMArch = UINT32_C(2560);
    215212    else
    216     if (sysInfo.lpMaximumApplicationAddress > 0xA0000000)    /* 2.5 GB */
     213    if (sysInfo.lpMaximumApplicationAddress > (LPVOID)0xA0000000)    /* 2.5 GB */
    217214        maxRAMArch = UINT32_C(2048);
    218215    else
Note: See TracChangeset for help on using the changeset viewer.

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