From 8e6d74c12078e5781b2f8dbcb588ce53a5fa3a0e Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 15 Feb 2007 14:27:48 +0000 Subject: Add DragonFly and modular Xorg support. --- editors/xemacs/files/dragonfly.h | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 editors/xemacs/files/dragonfly.h (limited to 'editors/xemacs/files/dragonfly.h') diff --git a/editors/xemacs/files/dragonfly.h b/editors/xemacs/files/dragonfly.h new file mode 100644 index 00000000000..742fce1e649 --- /dev/null +++ b/editors/xemacs/files/dragonfly.h @@ -0,0 +1,52 @@ +/* Synched up with: FSF 19.31. */ + +/* s/ file for DragonFly system. */ + +/* Get most of the stuff from bsd4.3 */ +#include "bsd4-3.h" + +/* For mem-limits.h. */ +#define BSD4_2 + +/* These aren't needed, since we have getloadavg. */ +#undef KERNEL_FILE +#undef LDAV_SYMBOL + +#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) + +#define INTERRUPTIBLE_OPEN + +#define LIBS_DEBUG +#define LIBS_SYSTEM "-lutil" + +#ifndef NOT_C_CODE +#ifdef BSD /* fixing BSD define */ +#undef BSD +#endif +#include +/* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */ +#endif /* C code */ + +#define LIBS_TERMCAP "-ltermcap" + +#ifndef NOT_C_CODE +#include +#endif +#define LD_SWITCH_SYSTEM +#define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o +#define UNEXEC "unexelf.o" +#define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o +#define LINKER "$(CC) -nostdlib" +#undef LIB_GCC +#define LIB_GCC + +/* #define NO_TERMIO */ /* detected in configure */ +#define DECLARE_GETPWUID_WITH_UID_T + +/* freebsd uses OXTABS instead of the expected TAB3. */ +#define TABDLY OXTABS +#define TAB3 OXTABS + +/* Needed to avoid hanging when child process writes an error message + and exits -- enami tsugutomo . */ +#define vfork fork -- cgit v1.2.3