summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--languages/cpp/debugger/debuggerconfigwidget.cpp14
-rw-r--r--lib/antlr/antlr/CharScanner.hpp1
2 files changed, 2 insertions, 13 deletions
diff --git a/languages/cpp/debugger/debuggerconfigwidget.cpp b/languages/cpp/debugger/debuggerconfigwidget.cpp
index 93e52e64..11de247f 100644
--- a/languages/cpp/debugger/debuggerconfigwidget.cpp
+++ b/languages/cpp/debugger/debuggerconfigwidget.cpp
@@ -37,19 +37,7 @@ DebuggerConfigWidget::DebuggerConfigWidget(DebuggerPart* part, QWidget *parent,
QString shell = DomUtil::readEntry(dom, "/kdevdebugger/general/dbgshell","no_value");
if( shell == QString("no_value") )
{
- QFileInfo info( part->project()->buildDirectory() + "/libtool" );
- if( info.exists() ) {
- shell = "libtool";
- } else {
- // Try one directory up.
- info.setFile( part->project()->buildDirectory() + "/../libtool" );
- if( info.exists() ) {
- shell = "../libtool";
- } else {
- // Give up.
- shell = QString::null;
- }
- }
+ shell = QString::null;
}
debuggingShell_edit->setURL( shell );
diff --git a/lib/antlr/antlr/CharScanner.hpp b/lib/antlr/antlr/CharScanner.hpp
index c426eba2..f7e58520 100644
--- a/lib/antlr/antlr/CharScanner.hpp
+++ b/lib/antlr/antlr/CharScanner.hpp
@@ -18,6 +18,7 @@
#include <cctype>
#endif
#include <cstring>
+#include <cstdio>
#if ( _MSC_VER == 1200 )
// VC6 seems to need this