add ifdef around console_
authorScott Graham <scottmg@chromium.org>
Tue, 9 Apr 2013 17:05:23 +0000 (10:05 -0700)
committerScott Graham <scottmg@chromium.org>
Tue, 9 Apr 2013 17:05:23 +0000 (10:05 -0700)
src/line_printer.h

index 54620da..4226c92 100644 (file)
@@ -44,7 +44,9 @@ class LinePrinter {
   /// Whether the caret is at the beginning of a blank line.
   bool have_blank_line_;
 
+#ifdef _WIN32
   void* console_;
+#endif
 };
 
 #endif  // NINJA_LINE_PRINTER_H_