Bug 853350 - Follow up. Make windows build.
authorFabrice Desré <fabrice@mozilla.com>
Fri, 10 May 2013 21:16:15 +0200
changeset 138296 1f5118b1434fd2f94be678b6cf6f3bbd3fb7a926
parent 138295 acf88070ceba6244020a27bbff3fe01d9f6f6349
child 138297 81e072111e989546362b2313e31a2495cf7f1e25
push id3752
push userlsblakk@mozilla.com
push dateMon, 13 May 2013 17:21:10 +0000
treeherdermozilla-aurora@1580544aef0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs853350
milestone23.0a1
Bug 853350 - Follow up. Make windows build.
toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl
--- a/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl
+++ b/toolkit/components/diskspacewatcher/nsIDiskSpaceWatcher.idl
@@ -1,14 +1,20 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsISupports.idl"
 
+%{ C++
+#ifdef XP_WIN
+#undef GetFreeSpace
+#endif
+%}
+
 [scriptable, uuid(3aceba74-2ed5-4e99-8fe4-06e90e2b8ef0)]
 interface nsIDiskSpaceWatcher : nsISupports
 {
   readonly attribute bool isDiskFull; // True if we are low on disk space.
   readonly attribute unsigned long long freeSpace; // The free space currently available.
 };
 
 %{ C++