Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (24 sloc) 0.475 kb
cf92e3be »
2011-12-10 Import Elvis 2.0 (written by Steve Kirkendall)
1 /* need.h */
2 /* Copyright 1995 by Steve Kirkendall */
3
4 #ifdef NEED_ABORT
5 # define abort() (*"x" = 0)
6 #endif
7
8 #ifdef NEED_ASSERT
9 # ifdef NDEBUG
10 # define assert(x)
11 # else
12 # define assert(x) if (!(x)) abort(); else (void)(0)
13 # endif
14 #else
15 # include <assert.h>
16 #endif
17
18 #ifdef NEED_STRDUP
19 BEGIN_EXTERNC
20 extern char *strdup P_((const char *str));
21 END_EXTERNC
22 #endif
8d1ac0c1 »
2011-12-10 Import Elvis 2.1 (written by Steve Kirkendall)
23
24 #ifdef NEED_MEMMOVE
25 BEGIN_EXTERNC
26 extern void *memmove P_((void *, const void *, size_t));
27 END_EXTERNC
28 #endif
29
30
Something went wrong with that request. Please try again.