17 |
with this program; if not, write to the Free Software Foundation, |
with this program; if not, write to the Free Software Foundation, |
18 |
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ |
19 |
|
|
20 |
|
#ifndef __GNUC_PREREQ |
21 |
|
# if defined __GNUC__ && defined __GNUC_MINOR__ |
22 |
|
# define __GNUC_PREREQ(maj, min) \ |
23 |
|
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) |
24 |
|
# else |
25 |
|
# define __GNUC_PREREQ(maj, min) 0 |
26 |
|
# endif |
27 |
|
#endif |
28 |
|
|
29 |
|
#if !__GNUC_PREREQ (3, 0) |
30 |
|
# define pure |
31 |
|
#endif |
32 |
|
|
33 |
static void re_string_construct_common (const char *str, Idx len, |
static void re_string_construct_common (const char *str, Idx len, |
34 |
re_string_t *pstr, |
re_string_t *pstr, |
35 |
REG_TRANSLATE_TYPE trans, bool icase, |
REG_TRANSLATE_TYPE trans, bool icase, |