diff src/s/freebsd.h @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 972bbb6d6ca2
children 6240c7796c7a
line wrap: on
line diff
--- a/src/s/freebsd.h	Mon Aug 13 11:01:58 2007 +0200
+++ b/src/s/freebsd.h	Mon Aug 13 11:03:08 2007 +0200
@@ -22,8 +22,6 @@
 
 #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
 
-#define INTERRUPTIBLE_OPEN
-
 #define LIBS_DEBUG
 /* FreeBSD 2.2 or later */
 #ifndef __FreeBSD_version
@@ -51,20 +49,6 @@
 
 #define LIBS_TERMCAP "-ltermcap"
 
-#ifdef __ELF__ /* since from 3.0-CURRENT(maybe 19980831 or later) */
-#ifndef NOT_C_CODE
-#include <stddef.h>
-#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 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
-#define LINKER "$(CC) -nostdlib"
-#undef LIB_GCC
-#define LIB_GCC
-
-#else /* not __ELF__ */
-
 #ifndef NO_SHARED_LIBS
 #if 0 /* mrb */
 #define LIB_GCC "-lgcc"
@@ -95,8 +79,6 @@
 #endif /* __FreeBSD__ */
 #endif /* NO_SHARED_LIBS */
 
-#endif /* not __ELF__ */
-
 #define HAVE_GETLOADAVG
 /* #define NO_TERMIO */ /* detected in configure */
 #define DECLARE_GETPWUID_WITH_UID_T