Skip to content
Snippets Groups Projects
Commit 0de27d63 authored by rswindell's avatar rswindell
Browse files

Now uses ULARGE_INTERGER.u to be compatible with Cygwin/MinGW.

parent 1452c32f
No related branches found
No related tags found
No related merge requests found
......@@ -298,10 +298,10 @@ ulong getfreediskspace(char* path)
NULL)) // receives the free bytes on disk
return(0);
if(avail.HighPart)
if(avail.u.HighPart)
return(~0); /* 4GB max */
return(avail.LowPart);
return(avail.u.LowPart);
}
/* Windows 95 (old way), limited to 2GB */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment