aboutsummaryrefslogtreecommitdiff
path: root/regcustom.h
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-06-27 17:06:10 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-06-27 17:11:39 +0200
commitfaa449f2c2353aad5ebd61f27181fdc576a6ab78 (patch)
treeb0921ce37ca84a38d13fd0c8a24f98eae8c595e5 /regcustom.h
parent51b272276ff72b2856b2704708644bca143eef64 (diff)
downloadterex-faa449f2c2353aad5ebd61f27181fdc576a6ab78.tar.gz
renamed re_comp() to tere_comp() and re_exec() to tere_exec()
Fixes inclusion into programs that also include unistd.h on BSD, which also provides re_comp() and re_exec() implementations.
Diffstat (limited to 'regcustom.h')
-rw-r--r--regcustom.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcustom.h b/regcustom.h
index 24bd130..6cc03ce 100644
--- a/regcustom.h
+++ b/regcustom.h
@@ -129,8 +129,8 @@ typedef int32_t celt; /* Type to hold chr, or NOCELT */
*/
#ifdef REGEX_STANDALONE
-#define compile re_comp
-#define exec re_exec
+#define compile tere_comp
+#define exec tere_exec
#undef __REG_NOCHAR
#else
#define compile TclReComp