48beacf6e4
(NM): new variable. (OBSOLETE_FUNCTIONS): Ditto. (NEW_FUNCTIONS): Ditto. (install-headers): Install regex.h. (install-man): New target. (install): Use new target. (DLL_OFILES): Add v8_reg* stuff. (new-cygwin1.dll): Eliminate stamp-cygwin-lib creation. (libcygwin.a): Remove obsolete functions from import lib. Add new functions. * configure.in: Detect 'nm' tool. * configure: Regenerate. * cygwin.din: Export posix_reg* functions. Eliminate export of v8 reg* functions. This is now handled in object files themselves. * regex/*: New files. * regexp/v8_*.c: New files, renamed from non v8_ equivalents.
23 lines
500 B
C
23 lines
500 B
C
/* utility definitions */
|
|
#ifdef _POSIX2_RE_DUP_MAX
|
|
#define DUPMAX _POSIX2_RE_DUP_MAX
|
|
#else
|
|
#define DUPMAX 255
|
|
#endif
|
|
#define INFINITY (DUPMAX + 1)
|
|
#define NC (CHAR_MAX - CHAR_MIN + 1)
|
|
typedef unsigned char uch;
|
|
|
|
/* switch off assertions (if not already off) if no REDEBUG */
|
|
#ifndef REDEBUG
|
|
#ifndef NDEBUG
|
|
#define NDEBUG /* no assertions please */
|
|
#endif
|
|
#endif
|
|
#include <assert.h>
|
|
|
|
/* for old systems with bcopy() but no memmove() */
|
|
#ifdef USEBCOPY
|
|
#define memmove(d, s, c) bcopy(s, d, c)
|
|
#endif
|