瀏覽代碼

* only define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE on Windows. This fixes
console output under Linux and other non-Windows platforms.

git-svn-id: trunk@30163 -

nickysn 10 年之前
父節點
當前提交
bf7785f567
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      ide/globdir.inc

+ 4 - 2
ide/globdir.inc

@@ -217,5 +217,7 @@
   {$ifdef DEBUG}
     {$define GDB_RAW_OUTPUT}
   {$endif DEBUG}
-  {$define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE}
-{$endif GDBMI}
+  {$ifdef Windows}
+    {$define GDB_WINDOWS_ALWAYS_USE_ANOTHER_CONSOLE}
+  {$endif Windows}
+{$endif GDBMI}