(x_window): Test FRAME_EXTERNAL_MENU_BAR
[emacs.git] / src / s / sunos4shr.h
blob88ff9039499cdb5abbba22865970d304276e1545
1 /* This file permits building Emacs with a shared libc on Sunos 4.
2 To make this work, you must completely replace your C shared library
3 using one of the SunOS 4.1.x jumbo replacement patches from Sun. */
5 #include "sunos4-1.h"
7 /* Say that the text segment of a.out includes the header;
8 the header actually occupies the first few bytes of the text segment
9 and is counted in hdr.a_text. */
11 /* Misleading! Actually gets loaded after crt0.o */
12 #define START_FILES pre-crt0.o
15 * Kludge! can't get at symbol "start" in std crt0.o
16 * Who the #$%&* decided to remove the __ characters!
17 * Someone needs to fix this in sysdep.c with an #ifdef BROKEN_START in
18 * sysdep.c. We do not use this address so any value should do really. Still
19 * may need it in the future?
21 #define BROKEN_START
22 #define TEXT_START 0x2020
24 #define UNEXEC unexsunos4.o
25 #define RUN_TIME_REMAP
26 #define LINKER cc
28 #undef LD_SWITCH_SYSTEM
30 #undef SYSTEM_MALLOC
31 #ifndef GNU_MALLOC
32 #define GNU_MALLOC
33 #endif
34 #ifndef REL_ALLOC
35 #define REL_ALLOC
36 #endif
38 /* khera@cs.duke.edu says this is needed. */
39 #define memmove(to, from, size) bcopy (from, to, size)