EXTRA_CLI_LIBS="-lsocket -lnsl"
add_def SOLARIS
echo "Configuring for Solaris (" $SYSTEM "SunOS version" $VERSION ")"
- if [ $VERSION = "5.3" ]; then
- add_def HAS_NO_BZERO
- echo "Using memset() instead of bzero()"
- fi
;;
esac
;;
{
int flags[MAX_POINTS];
- bzero(flags, n * sizeof(int));
+ memset(flags, 0, n * sizeof(int));
return find_ordered_entry_with_flags(x, n, index, flags);
}
#endif
#include <nlist.h>
#endif
-#if defined (HAS_NO_BZERO)
-#define bzero(ptr,n) memset(ptr,0,n)
-#endif /* HAS_NO_BZERO */
-
#if defined (WINNT)
/* Designed to work with the GCC from the GNAT-3.10 for Win32