| Index: gdb/gdb_curses.h
|
| diff --git a/gdb/gdb_curses.h b/gdb/gdb_curses.h
|
| index 242d6e7d7c5f085cc95e61d1580dd4bd22f146ce..92c6db169d00c0dab34925c4a665cca696413f76 100644
|
| --- a/gdb/gdb_curses.h
|
| +++ b/gdb/gdb_curses.h
|
| @@ -1,6 +1,6 @@
|
| /* Portable <curses.h>.
|
|
|
| - Copyright (C) 2004, 2006-2012 Free Software Foundation, Inc.
|
| + Copyright (C) 2004-2013 Free Software Foundation, Inc.
|
|
|
| This file is part of GDB.
|
|
|
| @@ -54,4 +54,12 @@
|
| extern int tgetnum (const char *);
|
| #endif
|
|
|
| +/* SunOS's curses.h has a '#define reg register' in it. Thank you Sun. */
|
| +/* Ditto for:
|
| + -bash-4.2$ uname -a
|
| + AIX power-aix 1 7 00F84C0C4C00 */
|
| +#ifdef reg
|
| +#undef reg
|
| +#endif
|
| +
|
| #endif /* gdb_curses.h */
|
|
|