VirtualBox

Ignore:
Timestamp:
Sep 23, 2015 1:42:40 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102828
Message:

IPRT,libs: Hacks for building IPRT testcases that can run on NT4. Won't be enabled by default, as I'm doing pretty hairy things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r57696 r57865  
    4545#if defined(RT_OS_WINDOWS)
    4646# include <Windows.h>
     47# include "../../r3/win/internal-r3-win.h"
    4748
    4849#elif defined(RT_OS_OS2)
     
    500501        /* Since this is used at the start of a pattern, we assume
    501502           we've got more than enough buffer space. */
     503        AssertReturn(g_pfnGetSystemWindowsDirectoryW, VERR_SYMBOL_NOT_FOUND);
    502504        PRTUTF16 pwszTmp = (PRTUTF16)pszBuf;
    503         UINT cch = GetSystemWindowsDirectoryW(pwszTmp, (UINT)(cbBuf / sizeof(WCHAR)));
     505        UINT cch = g_pfnGetSystemWindowsDirectoryW(pwszTmp, (UINT)(cbBuf / sizeof(WCHAR)));
    504506        if (cch >= 2)
    505507        {
     
    547549    {
    548550        Assert(pszBuf); Assert(cbBuf);
     551        AssertReturn(g_pfnGetSystemWindowsDirectoryW, VERR_SYMBOL_NOT_FOUND);
    549552        RTUTF16 wszSystemRoot[MAX_PATH];
    550         UINT cchSystemRoot = GetSystemWindowsDirectoryW(wszSystemRoot, MAX_PATH);
     553        UINT cchSystemRoot = g_pfnGetSystemWindowsDirectoryW(wszSystemRoot, MAX_PATH);
    551554        if (cchSystemRoot > 0)
    552555            return RTUtf16ToUtf8Ex(wszSystemRoot, cchSystemRoot, &pszBuf, cbBuf, pcchValue);
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