summaryrefslogtreecommitdiff
path: root/xs_regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_regex.h')
-rw-r--r--xs_regex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xs_regex.h b/xs_regex.h
index cdb2cf8..d8d2d1d 100644
--- a/xs_regex.h
+++ b/xs_regex.h
@@ -16,6 +16,11 @@ xs_list *xs_regex_replace_in(xs_str *str, const char *rx, const char *rep, int c
16 16
17#ifdef XS_IMPLEMENTATION 17#ifdef XS_IMPLEMENTATION
18 18
19#ifdef __TINYC__
20/* fix a compilation error in tcc */
21#define _REGEX_NELTS(n)
22#endif
23
19#include <regex.h> 24#include <regex.h>
20 25
21xs_list *xs_regex_split_n(const char *str, const char *rx, int count) 26xs_list *xs_regex_split_n(const char *str, const char *rx, int count)