RCS file: /cvsroot/gnugo/gnugo/interface/play_ascii.c,v
retrieving revision 1.62
diff -u -r1.62 play_ascii.c
|
|
|
|
| 27 | 27 | #include <string.h> |
| 28 | 28 | #include <ctype.h> |
| 29 | 29 | |
| 30 | | #ifdef READLINE |
| | 30 | #if READLINE |
| 31 | 31 | #include <readline/readline.h> |
| 32 | 32 | #include <readline/history.h> |
| 33 | 33 | #endif |
| … |
… |
|
| 654 | 654 | if (opt_showboard) |
| 655 | 655 | ascii_showboard(); |
| 656 | 656 | |
| 657 | | #ifndef READLINE |
| | 657 | #if !READLINE |
| 658 | 658 | /* Print the prompt */ |
| 659 | 659 | mprintf("%s(%d): ", color_to_string(gameinfo->to_move), movenum + 1); |
| 660 | 660 | |
| … |
… |
|
| 994 | 994 | if (passes >= 2) |
| 995 | 995 | state = ascii_endgame(gameinfo, 0); |
| 996 | 996 | } |
| 997 | | #ifdef READLINE |
| | 997 | #if READLINE |
| 998 | 998 | free(line_ptr); |
| 999 | 999 | #endif |
| 1000 | 1000 | |