comparison src/s/freebsd.h @ 155:43dd3413c7c7 r20-3b4

Import from CVS: tag r20-3b4
author cvs
date Mon, 13 Aug 2007 09:39:39 +0200
parents 59463afc5666
children 6b37e6ddd302
comparison
equal deleted inserted replaced
154:94141801dd7e 155:43dd3413c7c7
38 38
39 /* freebsd has POSIX-style pgrp behavior. */ 39 /* freebsd has POSIX-style pgrp behavior. */
40 #define GETPGRP_NO_ARG 40 #define GETPGRP_NO_ARG
41 41
42 #ifndef NO_SHARED_LIBS 42 #ifndef NO_SHARED_LIBS
43 #define LD_SWITCH_SYSTEM -e start -dc -dp 43 #define LD_SWITCH_SYSTEM -dc -dp -e start
44 #define HAVE_TEXT_START /* No need to define `start_of_text'. */ 44 #define HAVE_TEXT_START /* No need to define `start_of_text'. */
45 #define START_FILES pre-crt0.o /usr/lib/crt0.o 45 #define START_FILES pre-crt0.o /usr/lib/crt0.o
46 #define UNEXEC unexfreebsd.o 46 #define UNEXEC unexfreebsd.o
47 #define RUN_TIME_REMAP 47 #define RUN_TIME_REMAP
48 48
80 #endif 80 #endif
81 #elif __FreeBSD__ == 3 81 #elif __FreeBSD__ == 3
82 #define BSD 199506 82 #define BSD 199506
83 #endif 83 #endif
84 84
85 #undef HAVE_UNION_WAIT
86 /* #### XEmacs: Is this necessary? */
87 #define WRETCODE(w) (_W_INT(w) >> 8)
88
89 /* FreeBSD defines INT_MAX in /usr/include/limits.h. 85 /* FreeBSD defines INT_MAX in /usr/include/limits.h.
90 Unless INT_MAX is already defined in lisp.h, XEmacs goes right 86 Unless INT_MAX is already defined in lisp.h, XEmacs goes right
91 ahead and rolls its own. 87 ahead and rolls its own.
92 We make sure that the system's definition is used throughout. */ 88 We make sure that the system's definition is used throughout. */
93 #ifdef emacs 89 #ifdef emacs