X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fgdb_curses.h;h=94a56a15a2265618dd192fc8936bdaf5c6475059;hb=5aa03310cef09e8c41aaa05152d9570dfe62ba81;hp=37b2d5b8c4997171fc6acb3c706e7ffd29d6fd5c;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/gdb_curses.h b/gdb/gdb_curses.h index 37b2d5b..94a56a1 100644 --- a/gdb/gdb_curses.h +++ b/gdb/gdb_curses.h @@ -1,6 +1,6 @@ /* Portable . - Copyright (C) 2004-2013 Free Software Foundation, Inc. + Copyright (C) 2004-2014 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 */