]> git.eshelyaron.com Git - emacs.git/commitdiff
(bzero, bcmp, bcopy): New macros.
authorRichard M. Stallman <rms@gnu.org>
Thu, 29 Jul 1993 04:12:41 +0000 (04:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 29 Jul 1993 04:12:41 +0000 (04:12 +0000)
(LIB_STANDARD): Don't include libucb.a.

src/s/usg5-4.h

index 96ccecefcf0a4ee33a710c7ea2572d06e189d737..f319ecd2d222b3b4e595d54ade9a17c21a683706 100644 (file)
@@ -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)