(picture-mode-exit): Run picture-mode-exit-hook.
[emacs.git] / src / s / openbsd.h
blob39e48da39a786755301f134987aa373dd3105b6c
1 /* s/ file for openbsd systems. */
3 /* Mostly the same as NetBSD. */
4 #include "netbsd.h"
6 /* This very-badly named symbol is conditionally defined in netbsd.h.
7 Better would be either to not need it in the first place, or to choose
8 a more descriptive name. */
9 #ifndef LD_SWITCH_SYSTEM_tmp
10 #define LD_SWITCH_SYSTEM_tmp /* empty */
11 #endif
13 /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this
14 is necessary. Otherwise Emacs dumps core when run -nw. */
15 #undef LIBS_TERMCAP
17 #define TERMINFO
18 #define LIBS_TERMCAP -lncurses
20 #undef LD_SWITCH_SYSTEM_TEMACS
21 #undef LD_SWITCH_SYSTEM
22 #ifdef __ELF__
24 /* Han Boetes <han@mijncomputer.nl> says this
25 is necessary, otherwise Emacs dumps core on elf systems. */
26 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z
28 #else
30 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp
32 #endif
34 /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2
35 (do not change this comment) */