From f0f333f45536802923a359d930d1dcfd5b4589ea Mon Sep 17 00:00:00 2001 From: Nick Ing-Simmons Date: Fri, 31 Oct 1997 23:54:01 +0000 Subject: Further ANSI changes now builds and passes (most) tests with gcc -x c++. p4raw-id: //depot/ansiperl@196 --- x2p/a2p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x2p/a2p.h') diff --git a/x2p/a2p.h b/x2p/a2p.h index b00b0723ea..085935d98f 100644 --- a/x2p/a2p.h +++ b/x2p/a2p.h @@ -63,10 +63,10 @@ # include #endif -#ifndef HAS_BCOPY +#if !defined(HAS_BCOPY) || defined(__cplusplus) # define bcopy(s1,s2,l) memcpy(s2,s1,l) #endif -#ifndef HAS_BZERO +#if !defined(HAS_BZERO) || defined(__cplusplus) # define bzero(s,l) memset(s,0,l) #endif -- cgit v1.2.1