PR target/64833
[official-gcc.git] / include / xregex.h
blob4c5ef9345560e9358684d980438213b599afcd42
1 /* This file redefines all regex external names before including
2 a renamed copy of glibc's regex.h. */
4 #ifndef _XREGEX_H
5 #define _XREGEX_H 1
7 # define regfree xregfree
8 # define regexec xregexec
9 # define regcomp xregcomp
10 # define regerror xregerror
11 # define regoff_t xregoff_t
12 # define re_set_registers xre_set_registers
13 # define re_match_2 xre_match_2
14 # define re_match xre_match
15 # define re_search xre_search
16 # define re_compile_pattern xre_compile_pattern
17 # define re_set_syntax xre_set_syntax
18 # define re_search_2 xre_search_2
19 # define re_compile_fastmap xre_compile_fastmap
20 # define re_syntax_options xre_syntax_options
21 # define re_max_failures xre_max_failures
23 # define _REGEX_RE_COMP
24 # define re_comp xre_comp
25 # define re_exec xre_exec
27 #include "xregex2.h"
29 #endif /* xregex.h */