Bug 853350 - followup to make windows happy r=me

This commit is contained in:
Fabrice Desré 2013-05-09 18:04:56 -07:00
parent 559e6dfd4a
commit 1462b292dc

View File

@ -86,6 +86,11 @@ NS_IMETHODIMP DiskSpaceWatcher::GetIsDiskFull(bool* aIsDiskFull)
return NS_OK;
}
// GetFreeSpace is a macro on windows, and that messes up with the c++
// compiler.
#ifdef XP_WIN
#undef GetFreeSpace
#endif
/* readonly attribute long freeSpace; */
NS_IMETHODIMP DiskSpaceWatcher::GetFreeSpace(uint64_t* aFreeSpace)
{