Fix Windows build after #862. Thanks to @harig for the report.
authorNico Weber <nicolasweber@gmx.de>
Sat, 22 Nov 2014 19:43:33 +0000 (11:43 -0800)
committerNico Weber <nicolasweber@gmx.de>
Sat, 22 Nov 2014 19:43:33 +0000 (11:43 -0800)
configure.py

index c58b1e4..aac4ad4 100755 (executable)
@@ -95,7 +95,7 @@ class Platform(object):
         return self._platform in ('linux', 'openbsd', 'bitrig')
 
     def supports_ninja_browse(self):
-        return self._platform not in ('windows', 'solaris')
+        return not self.is_windows() and not self.is_solaris()
 
 
 class Bootstrap: