]> code.delx.au - gnu-emacs/blobdiff - src/terminfo.c
Credit Vivek Dasmohapatra for suggesting the last change.
[gnu-emacs] / src / terminfo.c
index 968d338279bfebc33f62d24ab450b6fb7890a48f..55508196fae6de85b6c5ec5ea66b505209238b84 100644 (file)
@@ -1,6 +1,6 @@
 /* Interface from Emacs to terminfo.
    Copyright (C) 1985, 1986, 2001, 2002, 2003, 2004,
-                 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+                 2005, 2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -18,16 +18,14 @@ You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
+#include <setjmp.h>
 #include "lisp.h"
 
 /* Define these variables that serve as global parameters to termcap,
    so that we do not need to conditionalize the places in Emacs
    that set them.  */
 
-/* Causes a conflict on OS X 10.3 .*/
-#ifndef NS_IMPL_COCOA
 char *UP, *BC, PC;
-#endif
 
 /* Interface to curses/terminfo library.
    Turns out that all of the terminfo-level routines look