Mercurial > emacs
annotate src/s/bsdos4.h @ 28747:6f90293e6ccb
(slurp_file): New function.
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files. If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file. Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 27 Apr 2000 19:11:04 +0000 |
parents | 1f372b20fb99 |
children | 695cf19ef79e |
rev | line source |
---|---|
23718 | 1 /* s/ file for BSDI BSD/OS 4.0 system. */ |
2 | |
3 #include "bsdos3.h" | |
4 | |
25895
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
5 /* BSD/OS 4.1 and later have ncurses */ |
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
6 #ifdef HAVE_LIBNCURSES |
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
7 #define TERMINFO |
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
8 #define LIBS_TERMCAP -lncurses |
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
9 #endif /* HAVE_LIBNCURSES */ |
1f372b20fb99
[HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP.
Gerd Moellmann <gerd@gnu.org>
parents:
23718
diff
changeset
|
10 |
23718 | 11 /* copied from freebsd.h */ |
12 #ifdef __ELF__ | |
13 | |
14 #define LD_SWITCH_SYSTEM | |
15 #undef START_FILES | |
16 #define START_FILES \ | |
17 pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o | |
18 #define UNEXEC unexelf.o | |
19 #define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o | |
20 #undef LIB_GCC | |
21 #define LIB_GCC | |
22 | |
23 #endif /* not __ELF__ */ |