diff --git a/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl b/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl index 6533a82f511..a9c60ca9f41 100644 --- a/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl +++ b/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl @@ -4,6 +4,12 @@ #include "nsISupports.idl" +%{ C++ +#ifdef XP_WIN +#undef GetFreeSpace +#endif +%} + [scriptable, uuid(3aceba74-2ed5-4e99-8fe4-06e90e2b8ef0)] interface nsIDiskSpaceWatcher : nsISupports {