gansidecl.h: Check for a conflicting macro definition before attempting to prototype bcopy...

* gansidecl.h: Check for a conflicting macro definition before
        attempting to prototype bcopy, bcmp or bzero.

From-SVN: r17773
This commit is contained in:
Kaveh R. Ghazi 1998-02-08 00:48:07 +00:00 committed by Jeff Law
parent e93e582cb7
commit 7d4679eaa8
2 changed files with 20 additions and 15 deletions

View File

@ -1,3 +1,8 @@
Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gansidecl.h: Check for a conflicting macro definition before
attempting to prototype bcopy, bcmp or bzero.
Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
* expr.c (clear_pending_stack_adjust): Handle case where a function

View File

@ -77,32 +77,32 @@ Boston, MA 02111-1307, USA. */
#endif /* ! __STDC__ */
#ifdef HAVE_BCOPY
# ifdef NEED_DECLARATION_BCOPY
#ifndef bcopy
# ifdef HAVE_BCOPY
# ifdef NEED_DECLARATION_BCOPY
void bcopy ();
# endif
#else
# ifndef bcopy
# endif
# else
# define bcopy(src,dst,len) memcpy ((dst),(src),(len))
# endif
#endif
#ifdef HAVE_BZERO
# ifdef NEED_DECLARATION_BZERO
#ifndef bzero
# ifdef HAVE_BZERO
# ifdef NEED_DECLARATION_BZERO
void bzero ();
# endif
#else
# ifndef bzero
# endif
# else
# define bzero(dst,len) memset ((dst),0,(len))
# endif
#endif
#ifdef HAVE_BCMP
# ifdef NEED_DECLARATION_BCMP
#ifndef bcmp
# ifdef HAVE_BCMP
# ifdef NEED_DECLARATION_BCMP
int bcmp ();
# endif
#else
# ifndef bcmp
# endif
# else
# define bcmp(left,right,len) memcmp ((left),(right),(len))
# endif
#endif