From be04251a8346b991e162b668d84d5cf1aa6e8501 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 25 Jan 1988 20:53:22 +0000 Subject: perl 1.0 patch 5: a2p didn't make use of the config.h generated by Configure The a2p program used index() and bcopy(), both of do not exist everywhere. Since Configure was already figuring out about those functions, it is fairly trivial to get a2p to make use of the info. --- x2p/a2p.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'x2p') diff --git a/x2p/a2p.h b/x2p/a2p.h index 35f8bbeb1f..eede53d27f 100644 --- a/x2p/a2p.h +++ b/x2p/a2p.h @@ -1,11 +1,22 @@ -/* $Header: a2p.h,v 1.0 87/12/18 13:06:58 root Exp $ +/* $Header: a2p.h,v 1.0.1.1 88/01/26 09:52:30 root Exp $ * * $Log: a2p.h,v $ + * Revision 1.0.1.1 88/01/26 09:52:30 root + * patch 5: a2p didn't use config.h. + * * Revision 1.0 87/12/18 13:06:58 root * Initial revision * */ +#define VOIDUSED 1 +#include "../config.h" + +#ifndef BCOPY +# define bcopy(s1,s2,l) memcpy(s2,s1,l); +# define bzero(s,l) memset(s,0,l); +#endif + #include "handy.h" #define Nullop 0 -- cgit v1.2.1