VirtualBox

Changeset 84405 in vbox


Ignore:
Timestamp:
May 20, 2020 2:27:07 PM (5 years ago)
Author:
vboxsync
Message:

IPRT: Quick adjustments for making the vcc-fakes-kernel32* stuff build with VC++ 19.0. bugref:8489

Location:
trunk/src/VBox/Runtime/r3/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/vcc-fakes-kernel32-A.asm

    r84365 r84405  
    3535%ifdef VCC_FAKES_TARGET_VCC100
    3636 %include "vcc-fakes-kernel32-100.h"
     37%elifdef VCC_FAKES_TARGET_VCC140
     38 %include "vcc-fakes-kernel32-141.h"
    3739%elifdef VCC_FAKES_TARGET_VCC141
    3840 %include "vcc-fakes-kernel32-141.h"
  • trunk/src/VBox/Runtime/r3/win/vcc-fakes-kernel32.cpp

    r84365 r84405  
    6969#ifdef VCC_FAKES_TARGET_VCC100
    7070# include "vcc-fakes-kernel32-100.h"
     71#elif defined(VCC_FAKES_TARGET_VCC140)
     72# include "vcc-fakes-kernel32-141.h"
    7173#elif defined(VCC_FAKES_TARGET_VCC141)
    7274# include "vcc-fakes-kernel32-141.h"
     
    381383
    382384
    383 #if VCC_FAKES_TARGET >= 141
     385#if VCC_FAKES_TARGET >= 140
    384386/** @since 5.0 (windows 2000) */
    385387DECL_KERNEL32(BOOL) Fake_GetModuleHandleExW(DWORD dwFlags, LPCWSTR pwszModuleName, HMODULE *phModule)
     
    425427
    426428
    427 #if VCC_FAKES_TARGET >= 141
     429#if VCC_FAKES_TARGET >= 140
    428430/** @since 5.0 (windows 2000) */
    429431DECL_KERNEL32(BOOL) Fake_SetFilePointerEx(HANDLE hFile, LARGE_INTEGER offDistanceToMove,
     
    476478    return FakeSetLastErrorFromNtStatus(rcNt);
    477479}
    478 #endif /* VCC_FAKES_TARGET >= 141 */
    479 
    480 
    481 #if VCC_FAKES_TARGET >= 141
     480#endif /* VCC_FAKES_TARGET >= 140 */
     481
     482
     483#if VCC_FAKES_TARGET >= 140
    482484/** @since 5.0 (windows 2000) */
    483485DECL_KERNEL32(BOOL) Fake_GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER pcbFile)
     
    493495    return FakeSetLastErrorFromNtStatus(rcNt);
    494496}
    495 #endif /* VCC_FAKES_TARGET >= 141 */
     497#endif /* VCC_FAKES_TARGET >= 140 */
    496498
    497499
     
    502504 */
    503505
    504 #if VCC_FAKES_TARGET >= 141
     506#if VCC_FAKES_TARGET >= 140
    505507/** @since 4.0 */
    506508DECL_KERNEL32(HANDLE) Fake_FindFirstFileExW(LPCWSTR pwszFileName, FINDEX_INFO_LEVELS enmInfoLevel, LPVOID pvFindFileData,
     
    518520    return FindFirstFileW(pwszFileName, (WIN32_FIND_DATAW *)pvFindFileData);
    519521}
    520 #endif /* VCC_FAKES_TARGET >= 141 */
     522#endif /* VCC_FAKES_TARGET >= 140 */
    521523
    522524
     
    554556 */
    555557
    556 #if VCC_FAKES_TARGET >= 141
     558#if VCC_FAKES_TARGET >= 140
    557559/** @since 3.51 */
    558560DECL_KERNEL32(VOID) Fake_FreeLibraryAndExitThread(HMODULE hLibModule, DWORD dwExitCode)
     
    562564    ExitThread(dwExitCode);
    563565}
    564 #endif /* VCC_FAKES_TARGET >= 141 */
     566#endif /* VCC_FAKES_TARGET >= 140 */
    565567
    566568
     
    734736
    735737
    736 #if VCC_FAKES_TARGET >= 141
     738#if VCC_FAKES_TARGET >= 140
    737739/** @since 3.51 */
    738740DECL_KERNEL32(BOOL) Fake_EnumSystemLocalesW(LOCALE_ENUMPROCW pfnLocaleEnum, DWORD dwFlags)
     
    742744    return FALSE;
    743745}
    744 #endif /* VCC_FAKES_TARGET >= 141 */
     746#endif /* VCC_FAKES_TARGET >= 140 */
    745747
    746748
     
    839841#ifdef VCC_FAKES_TARGET_VCC100
    840842# include "vcc-fakes-kernel32-100.h"
     843#elif defined(VCC_FAKES_TARGET_VCC140)
     844# include "vcc-fakes-kernel32-141.h"
    841845#elif defined(VCC_FAKES_TARGET_VCC141)
    842846# include "vcc-fakes-kernel32-141.h"
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