ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/mon.cpp
(Generate patch)

Comparing mon/src/mon.cpp (file contents):
Revision 1.6 by cebix, 2000-04-24T13:10:00Z vs.
Revision 1.10 by cebix, 2000-09-25T12:44:31Z

# Line 25 | Line 25
25   #include <signal.h>
26   #include <ctype.h>
27  
28 < #ifdef HAVE_READLINE_READLINE_H
28 > #if defined(HAVE_READLINE_H)
29 > extern "C" {
30 > #include <readline.h>
31 > }
32 > #elif defined(HAVE_READLINE_READLINE_H)
33   extern "C" {
34   #include <readline/readline.h>
35   }
36   #endif
37  
38 < #ifdef HAVE_READLINE_HISTORY_H
38 > #if defined(HAVE_HISTORY_H)
39 > extern "C" {
40 > #include <history.h>
41 > }
42 > #elif defined(HAVE_READLINE_HISTORY_H)
43   extern "C" {
44   #include <readline/history.h>
45   }
# Line 40 | Line 48 | extern "C" {
48   #include "mon.h"
49   #include "mon_cmd.h"
50  
51 + #ifndef VERSION
52 + #define VERSION "2"
53 + #endif
54 +
55  
56   // Buffer we're operating on
57   bool mon_use_real_mem = false;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines