projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[platform/upstream/binutils.git]
/
gdb
/
gdb_curses.h
diff --git
a/gdb/gdb_curses.h
b/gdb/gdb_curses.h
index
37b2d5b
..
94a56a1
100644
(file)
--- a/
gdb/gdb_curses.h
+++ b/
gdb/gdb_curses.h
@@
-1,6
+1,6
@@
/* Portable <curses.h>.
/* Portable <curses.h>.
- Copyright (C) 2004-201
3
Free Software Foundation, Inc.
+ Copyright (C) 2004-201
4
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-54,4
+54,12
@@
extern int tgetnum (const char *);
#endif
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 */
#endif /* gdb_curses.h */