ftp.nice.ch/pub/next/unix/editor/elvis-2.0.N.bs.tar.gz#/elvis-2.0.N.bs/need.h

This is need.h in view mode; [Download] [Up]

/* need.h */
/* Copyright 1995 by Steve Kirkendall */

#ifdef NEED_ABORT
# define abort()	(*"x" = 0)
#endif

#ifdef NEED_ASSERT
# ifdef NDEBUG
#  define assert(x)
# else
#  define assert(x)	if (!(x)) abort(); else (void)(0)
# endif
#else
# include <assert.h>
#endif

#ifdef NEED_STRDUP
BEGIN_EXTERNC
extern char *strdup P_((const char *str));
END_EXTERNC
#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.