/*
**      portability.h   -
**
**
** Copyright (c) 1995  Hughes Technologies Pty Ltd
**
** Permission to use, copy, and distribute for non-commercial purposes,
** is hereby granted without fee, providing that the above copyright
** notice appear in all copies and that both the copyright notice and this
** permission notice appear in supporting documentation.
**
** This software is provided "as is" without any expressed or implied warranty.
**
*/


#ifndef PORTABILITY_H
#define PORTABILITY_H

#ifndef HAVE_BCOPY
#  undef        bzero
#  undef        bcopy
#  undef        bcmp
#  define       bzero(a,l)      memset((void *)a,0,(size_t)l)
#  define       bcopy(s,d,l)    memcpy(d,s,(size_t)l)
#  define       bcmp            memcmp
#endif

#endif /* PORTABILTIY_H */
