From 5cb70bb5ad9b9af694603241f218522172743070 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 29 Jul 1993 04:12:41 +0000 Subject: [PATCH] (bzero, bcmp, bcopy): New macros. (LIB_STANDARD): Don't include libucb.a. --- src/s/usg5-4.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index 96ccecefcf0..f319ecd2d22 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h @@ -35,12 +35,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define LIBS_SYSTEM -lsocket -lnsl -lelf #define ORDINARY_LINK +#if 0 #ifdef ORDINARY_LINK #define LIB_STANDARD -lc /usr/ucblib/libucb.a #else #define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o #define LIB_STANDARD -lc /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o #endif +#else + +#ifdef ORDINARY_LINK +#define LIB_STANDARD +#else +#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xt.o +#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o +#endif +#endif /* there are no -lg libraries on this system, and no libPW */ @@ -185,3 +195,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This definition was suggested for next release. So give it a try. */ #define HAVE_SOCKETS + +#define bcopy(src,dst,n) memcpy(dst,src,n) +#define bcmp(src,dst,n) memcmp(src,dst,n) +#define bzero(s,n) memset(s,0,n) -- 2.39.5