Mercurial > emacs
view src/s/isc4-0.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 | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
#include "isc3-0.h" #undef LIBS_SYSTEM #define LIBS_SYSTEM -linet -lcposix #define ISC4_0 /* fmcphers@csugrad.cs.vt.edu reported this was necessary. He used GCC. I don't know what is needed with other compilers. */ #ifdef __GNUC__ #undef LIBX11_SYSTEM #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc #endif /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> says this is needed. */ #ifndef POSIX_SIGNALS #ifndef sigblock #ifndef SIG_BLOCK #define SIG_BLOCK 0 #endif #define sigblock(sig) \ (sigprocmask_set = SIGEMPTYMASK | (sig), \ sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL)) #define sigunblock(sig) \ (sigprocmask_set = SIGFULLMASK & ~(sig), \ sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL)) #endif #endif /* not POSIX_SIGNALS */ /* arch-tag: 1278f86f-17f2-462d-88c9-85e4b5faa5c3 (do not change this comment) */