Mercurial > emacs
view src/s/openbsd.h @ 60361:bd59e53ab8e8
(install_window_handler): Move extern to macterm.h.
(Fx_file_dialog): Check STRINGP (default_filename) to see it is valid.
Don't check !NILP (dir) because it is already checked with
CHECK_STRING.
(Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for
specifying the default location and obtaining the selected filename.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 04 Mar 2005 11:08:54 +0000 |
parents | 695cf19ef79e |
children | 167aa6212e5a 375f2633d815 |
line wrap: on
line source
/* s/ file for openbsd systems. */ /* Mostly the same as NetBSD. */ #include "netbsd.h" /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this is necessary. Otherwise Emacs dumps core when run -nw. */ #undef LIBS_TERMCAP #define TERMINFO #define LIBS_TERMCAP -lncurses #undef LD_SWITCH_SYSTEM_TEMACS #undef LD_SWITCH_SYSTEM #ifdef __ELF__ /* Han Boetes <han@mijncomputer.nl> says this is necessary, otherwise Emacs dumps core on elf systems. */ #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Z #else #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp #endif /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 (do not change this comment) */