Mercurial > emacs
view src/s/openbsd.h @ 69099:9547db029a2a
(GC_CLIP_REGION): Remove macro.
(mac_begin_clip, mac_end_clip): Take arg GC instead of REGION.
All uses changed. Don't do clipping if n_clip_rects is zero.
(mac_set_clip_rectangles): Use xassert instead of abort. Set
n_clip_rects. Don't make clip_region empty when number of
clipping rectangles is zero.
(mac_reset_clip_rectangles): Set n_clip_rects directly instead of
calling mac_set_clip_rectangles.
(x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to
avoid multiple redraws.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 22 Feb 2006 07:59:45 +0000 |
parents | 167aa6212e5a |
children | ebdf9d25121d 13796b0653c7 |
line wrap: on
line source
/* s/ file for openbsd systems. */ /* Mostly the same as NetBSD. */ #include "netbsd.h" /* This very-badly named symbol is conditionally defined in netbsd.h. Better would be either to not need it in the first place, or to choose a more descriptive name. */ #ifndef LD_SWITCH_SYSTEM_tmp #define LD_SWITCH_SYSTEM_tmp /* empty */ #endif /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this is necessary. Otherwise Emacs dumps core when run -nw. */ #undef LIBS_TERMCAP #define TERMINFO #define LIBS_TERMCAP -lncurses #undef LD_SWITCH_SYSTEM_TEMACS #undef LD_SWITCH_SYSTEM #ifdef __ELF__ /* Han Boetes <han@mijncomputer.nl> says this is necessary, otherwise Emacs dumps core on elf systems. */ #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z #else #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp #endif /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 (do not change this comment) */