VirtualBox

Changeset 1717 in kBuild for trunk/src/kmk/kmkbuiltin


Ignore:
Timestamp:
Sep 3, 2008 1:21:01 PM (17 years ago)
Author:
bird
Message:

mscfakes: CreateSymbolicLinkA returns BOOLEAN not BOOL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/mscfakes.c

    r1710 r1717  
    373373int symlink(const char *pszDst, const char *pszLink)
    374374{
    375     static BOOL (WINAPI *s_pfnCreateSymbolicLinkA)(LPCSTR, LPCSTR, DWORD) = 0;
     375    static BOOLEAN (WINAPI *s_pfnCreateSymbolicLinkA)(LPCSTR, LPCSTR, DWORD) = 0;
    376376    static BOOL s_fTried = FALSE;
    377377
     
    388388        char *pszDstCopy = fix_slashes(strdup(pszDst));
    389389        char *pszLinkCopy = fix_slashes(strdup(pszLink));
    390         BOOL fRc = s_pfnCreateSymbolicLinkA(pszLinkCopy, pszDstCopy,
    391                                             is_directory(pszDstCopy, pszLinkCopy));
     390        BOOLEAN fRc = s_pfnCreateSymbolicLinkA(pszLinkCopy, pszDstCopy,
     391                                               is_directory(pszDstCopy, pszLinkCopy));
    392392        DWORD err = GetLastError();
    393393        free(pszDstCopy);
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