Mercurial > emacs
view src/s/irix6-5.h @ 83323:61487e73bbc2
Cleanup: Move kboard fields from struct frame and device-specific descriptors to struct display.
* src/termhooks.h (display): New field: kboard.
* src/xterm.h (x_display_info): Remove kboard field.
* src/termchar.h (tty_display_info): Ditto.
* src/frame.h (frame): Ditto.
(FRAME_KBOARD): Update.
* src/dispnew.c (init_display): Don't initialize kboard.
* src/frame.c (make_frame, make_initial_frame, make_terminal_frame): Ditto.
* src/frame.c (make_frame_without_minibuffer, Fdelete_frame): Update kboard access.
* src/keyboard.c (delete_kboard): Ditto.
* src/term.c (term_init): Ditto.
* src/xfns.c (Fx_create_frame, x_create_tip_frame): Ditto.
* src/xselect.c (x_handle_selection_clear): Ditto.
* src/xterm.c (x_term_init): Ditto.
* src/term.c (init_initial_display): Initialize kboard.
* src/xterm.c (x_term_init): Ditto.
* src/term.c (delete_tty): Remove kboard deletion.
(delete_display): Delete kboard as well.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-363
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 27 Jun 2005 00:56:21 +0000 |
parents | 695cf19ef79e |
children | 06d1688690ad 375f2633d815 |
line wrap: on
line source
#define IRIX6_5 /* used in m/iris4d */ #include "irix5-0.h" #if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ #define _LP64 /* lisp.h takes care of the rest */ #endif /* _MIPS_SZLONG */ /* This macro definition, which we inherited from irix5-0.h, is needed in configure on Irix 5, but gets in the way there on Irix 6. So get rid of it except in Makefile.in where we need it. */ #ifndef THIS_IS_MAKEFILE #undef C_SWITCH_SYSTEM #endif /* The only supported 32-bit configuration of GCC under IRIX6.x produces n32 MIPS ABI binaries and also supports -g. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH -g #else /* Optimize, inaccurate debugging, increase limit on size of what's optimized. This should also be applicable other than on Irix 6.5, but I don't know for which compiler versions. -- fx */ #define C_DEBUG_SWITCH -g3 -O -OPT:Olimit=3500 #endif #undef SA_RESTART /* Cancel the #define that is in irix5-0.h. */ #undef ospeed #undef TIOCSIGSEND /* defined in usg5-4.h */ /* arch-tag: d7ad9ec2-54ad-4b2f-adf2-0070c5c63e83 (do not change this comment) */