]> git.pld-linux.org Git - packages/pcre.git/blob - pcre-pcreposix-glibc-conflict.patch
- Up to 8.11
[packages/pcre.git] / pcre-pcreposix-glibc-conflict.patch
1 --- pcre/pcreposix.h
2 +++ pcre/pcreposix.h
3 @@ -129,14 +129,19 @@ file. */
4  
5  /* The functions */
6  
7 -PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int);
8 -PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t,
9 +PCREPOSIX_EXP_DECL int pcreposix_regcomp(regex_t *, const char *, int);
10 +PCREPOSIX_EXP_DECL int pcreposix_regexec(const regex_t *, const char *, size_t,
11                       regmatch_t *, int);
12 -PCREPOSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t);
13 -PCREPOSIX_EXP_DECL void regfree(regex_t *);
14 +PCREPOSIX_EXP_DECL size_t pcreposix_regerror(int, const regex_t *, char *, size_t);
15 +PCREPOSIX_EXP_DECL void pcreposix_regfree(regex_t *);
16  
17  #ifdef __cplusplus
18  }   /* extern "C" */
19  #endif
20  
21 +#define regcomp pcreposix_regcomp
22 +#define regexec pcreposix_regexec
23 +#define regerror pcreposix_regerror
24 +#define regfree pcreposix_regfree
25 +
26  #endif /* End of pcreposix.h */
This page took 0.084397 seconds and 3 git commands to generate.