Mercurial > emacs
view src/m/ncr386.h @ 37143:187f754d89cc
(x_alloc_nearest_color_1): New function.
(x_alloc_nearest_color): Use it.
(x_color_cells): Take a Display as argument, instead of a frame.
(string_to_pixel_args, cvt_string_to_pixel_value): New variables.
(cvt_string_to_pixel, cvt_pixel_dtor): New functions.
(x_initialize): Register cvt_string_to_pixel as resource converter
string -> Pixel and cvt_pixel_dtor as pixel resource destructor.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 02 Apr 2001 15:49:25 +0000 |
parents | ca0aead90c7b |
children | 695cf19ef79e |
line wrap: on
line source
#include "intel386.h" #ifndef __GNUC__ /* Allow emacs to link with "bcopy()" unresolved. Works around a problem where /usr/lib/libX11.so provides bcopy, but /usr/ccs/lib/libX11.so does not. */ #define LD_SWITCH_X_DEFAULT -Wl,-z,nodefs #else /* __GNUC__ */ /* Assuming we are using GNU ld, pass a -R option to it so that shared libraries will be found at execution time just as they are found at link time. */ #define LD_SWITCH_X_DEFAULT -Xlinker LD_SWITCH_X_SITE_AUX #endif /* __GNUC__ */