Bug #331433 --> try to fix thunderbird build bustage until the build machine

can be properly upgraded..

patch by Masatoshi Kumra.
This commit is contained in:
scott%scott-macgregor.org 2006-03-27 16:12:05 +00:00
Родитель 69583fdef6
Коммит fea64b932e
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -226,6 +226,15 @@ BOOL WINAPI nsMoveFileW(LPCWSTR aSrc, LPCWSTR aDest)
return MoveFileA(pSrc, pDest);
}
#if defined(_MSC_VER) && _MSC_VER <= 0x1200
#define GetFileVersionInfoA(aPath, aHandle, aLen, aData) \
GetFileVersionInfoA((LPSTR)aPath, aHandle, aLen, aData)
#define GetFileVersionInfoSizeA(aPath, aHandle) \
GetFileVersionInfoSizeA((LPSTR)aPath, aHandle)
#define GetFileVersionInfoW ((nsGetFileVersionInfo)GetFileVersionInfoW)
#define GetFileVersionInfoSizeW ((nsGetFileVersionInfoSize)GetFileVersionInfoSizeW)
#endif
BOOL WINAPI nsGetFileVersionInfoW(LPCWSTR aPath, DWORD aHandle, DWORD aLen,
LPVOID aData)
{