OLD | NEW |
1 /* Portable <curses.h>. | 1 /* Portable <curses.h>. |
2 | 2 |
3 Copyright (C) 2004, 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2004-2013 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #elif defined (HAVE_TERM_H) | 47 #elif defined (HAVE_TERM_H) |
48 #include <term.h> | 48 #include <term.h> |
49 #else | 49 #else |
50 /* On MinGW, a real termcap library is usually not present. Stub versions | 50 /* On MinGW, a real termcap library is usually not present. Stub versions |
51 of the termcap functions will be built from windows-termcap.c. Readline | 51 of the termcap functions will be built from windows-termcap.c. Readline |
52 provides its own extern declarations when there's no termcap.h; do the | 52 provides its own extern declarations when there's no termcap.h; do the |
53 same here for the termcap functions used in GDB. */ | 53 same here for the termcap functions used in GDB. */ |
54 extern int tgetnum (const char *); | 54 extern int tgetnum (const char *); |
55 #endif | 55 #endif |
56 | 56 |
| 57 /* SunOS's curses.h has a '#define reg register' in it. Thank you Sun. */ |
| 58 /* Ditto for: |
| 59 -bash-4.2$ uname -a |
| 60 AIX power-aix 1 7 00F84C0C4C00 */ |
| 61 #ifdef reg |
| 62 #undef reg |
| 63 #endif |
| 64 |
57 #endif /* gdb_curses.h */ | 65 #endif /* gdb_curses.h */ |
OLD | NEW |