diff options
author | Arnold D. Robbins <arnold@emoryu2.arpa> | 1988-01-25 20:53:22 +0000 |
---|---|---|
committer | Larry Wall <lwall@jpl-devvax.jpl.nasa.gov> | 1988-01-25 20:53:22 +0000 |
commit | be04251a8346b991e162b668d84d5cf1aa6e8501 (patch) | |
tree | 80656dbd27cfdb0badeb9791c39f564c81c8b5b5 /x2p/a2p.h | |
parent | fdf95cbbc2acfbfc754558cc084039bd434df8d8 (diff) | |
download | perl-be04251a8346b991e162b668d84d5cf1aa6e8501.tar.gz |
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.
Diffstat (limited to 'x2p/a2p.h')
-rw-r--r-- | x2p/a2p.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |