# HG changeset patch # User Richard M. Stallman # Date 743919161 0 # Node ID 96d3869ae2319227c8907a2049db677d25092a1d # Parent 907bf380e92ebe93ad202e4496cbca63faac6595 (bzero, bcmp, bcopy): New macros. (LIB_STANDARD): Don't include libucb.a. diff -r 907bf380e92e -r 96d3869ae231 src/s/usg5-4.h --- a/src/s/usg5-4.h Thu Jul 29 04:07:02 1993 +0000 +++ b/src/s/usg5-4.h Thu Jul 29 04:12:41 1993 +0000 @@ -35,12 +35,22 @@ #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 @@ /* 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)