Commit 5bbc6323 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

cabinet: Make tests run on Win98 again.

parent 06e07669
......@@ -148,7 +148,8 @@ static INT_PTR fci_open(char *pszFile, int oflag, int pmode, int *err, void *pv)
DWORD dwCreateDisposition = OPEN_EXISTING;
dwAccess = GENERIC_READ | GENERIC_WRITE;
dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
/* FILE_SHARE_DELETE is not supported by Windows Me/98/95 */
dwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE;
if (GetFileAttributesA(pszFile) != INVALID_FILE_ATTRIBUTES)
dwCreateDisposition = OPEN_EXISTING;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment