]> www.ginac.de Git - cln.git/blobdiff - src/base/cl_debugout.cc
* Adjusted dates and final touches for 1.1.1.
[cln.git] / src / base / cl_debugout.cc
index ad5a5c2cadd72f95e775a324cc9d548a8265954a..c195f8f67c85b6f3d2c43511d862213462b9dae6 100644 (file)
@@ -4,24 +4,18 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_io.h"
+#include "cln/io.h"
 
 
 // Implementation.
 
 // Just assume that the debugger runs on /dev/tty, independently of
-// cl_stdin, cl_stdout, cl_stderr.
+// cin, cout, cerr.
 
-#if defined(CL_IO_STDIO)
+#include <fstream>
 
-FILE* cl_debugout = fopen("/dev/tty","a");
+namespace cln {
 
-#endif
+std::ostream * cl_debugout_stream = new std::ofstream ("/dev/tty");
 
-#if defined(CL_IO_IOSTREAM)
-
-#include <fstream.h>
-
-ostream* cl_debugout_stream = new ofstream ("/dev/tty");
-
-#endif
+}  // namespace cln