changeset 4336:96d3869ae231

(bzero, bcmp, bcopy): New macros. (LIB_STANDARD): Don't include libucb.a.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 Jul 1993 04:12:41 +0000
parents 907bf380e92e
children cda282328afd
files src/s/usg5-4.h
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)