Mercurial > emacs
view src/m/sun3-68881.h @ 31637:c1f4bdbf8465
(ALLOC_XPM_COLORS): Define if we can use Emacs' color
allocation functions with the XPM lib.
(struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure.
(XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro.
(xpm_color_cache) [ALLOC_XPM_COLORS]: New variable.
(xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color)
(xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New
functions.
(xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation
functions, if possible, because these handle color allocation
failure more gracefully.
(Fimage_mask_p): New function.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 15 Sep 2000 15:19:03 +0000 |
parents | e442bb589751 |
children | 23a1cea22d13 |
line wrap: on
line source
/* sun3-68881.h, for a Sun 3, using the 68881. */ #include "sun3.h" /* The following line tells the configuration script what sort of operating system this machine is likely to run. USUAL-OPSYS="note" NOTE-START Sun with 68881 co-processor (-machine=sun3-68881; -opsystem=bsd4-2 or -opsystem=sunos4) Versions 1, 2, and 3 of the operating system are derived from Berkeley 4.2, meaning that you should use -opsystem=bsd4-2. For SunOS release 4 on a Sun 3 with a 68881, use -machine=sun3-68881 and -opsystem=sunos4. See the file share-lib/SUNBUG for how to solve problems caused by bugs in the "export" version of SunOS 4. NOTE-END */ /* In case we are using floating point, work together with crt0.c. */ #ifndef __GNUC__ #define C_SWITCH_MACHINE -f68881 #endif #define sun_68881 #define START_FILES crt0.o /usr/lib/Mcrt1.o