Mercurial > emacs
view src/s/isc4-0.h @ 48346:140fd0332d31
(w32_defined_color): Adjust RGB values for Emacs.
(x_from_xcolors): Adjust RGB values for W32.
(image_background, image_background_transparent)
(postprocess_image, x_to_xcolors, x_disable_image)
(x_build_heuristic_mask): Adapt for W32 and enable.
(x_create_x_image_and_pixmap): Mark images with palettes as such.
(xbm_load): Remove unused variable.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Fri, 15 Nov 2002 18:59:29 +0000 |
parents | 628cd9eccd18 |
children | 695cf19ef79e |
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 */