summaryrefslogtreecommitdiff
path: root/regex/utils.h
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-10-05 15:00:09 +0000
committerJani Taskinen <jani@php.net>2007-10-05 15:00:09 +0000
commitaa3eee1dce8c4391051a7f290057403e9c261bf4 (patch)
tree912a1cecd18ff15a953a394a686fccad26df404a /regex/utils.h
parent3a5817e972462ee051447af9c97b1c0611bad9b3 (diff)
downloadphp-git-aa3eee1dce8c4391051a7f290057403e9c261bf4.tar.gz
MFH:- Moved the old regex functions to own extension: ereg
Diffstat (limited to 'regex/utils.h')
-rw-r--r--regex/utils.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/regex/utils.h b/regex/utils.h
deleted file mode 100644
index cd4a96025f..0000000000
--- a/regex/utils.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* utility definitions */
-
-#include "regex_extra.h"
-
-#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