VirtualBox

儲存庫 kBuild 的更動 1717


忽略:
時間撮記:
2008-9-3 下午01:21:01 (16 年 以前)
作者:
bird
訊息:

mscfakes: CreateSymbolicLinkA returns BOOLEAN not BOOL.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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