External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1KB

  1. From: Mark Baker <mark@mnb.org.uk>
  2. Date: Wed, 13 Jul 2016 21:20:13 +0100
  3. Subject: pcreposix
  4. ---
  5. pcreposix.h | 13 +++++++++----
  6. 1 file changed, 9 insertions(+), 4 deletions(-)
  7. diff --git a/pcreposix.h b/pcreposix.h
  8. index c77c0b0..4527f78 100644
  9. --- a/pcreposix.h
  10. +++ b/pcreposix.h
  11. @@ -133,14 +133,19 @@ file. */
  12. /* The functions */
  13. -PCREPOSIX_EXP_DECL int regcomp(regex_t *, const char *, int);
  14. -PCREPOSIX_EXP_DECL int regexec(const regex_t *, const char *, size_t,
  15. +PCREPOSIX_EXP_DECL int pcreposix_regcomp(regex_t *, const char *, int);
  16. +PCREPOSIX_EXP_DECL int pcreposix_regexec(const regex_t *, const char *, size_t,
  17. regmatch_t *, int);
  18. -PCREPOSIX_EXP_DECL size_t regerror(int, const regex_t *, char *, size_t);
  19. -PCREPOSIX_EXP_DECL void regfree(regex_t *);
  20. +PCREPOSIX_EXP_DECL size_t pcreposix_regerror(int, const regex_t *, char *, size_t);
  21. +PCREPOSIX_EXP_DECL void pcreposix_regfree(regex_t *);
  22. #ifdef __cplusplus
  23. } /* extern "C" */
  24. #endif
  25. +#define regcomp pcreposix_regcomp
  26. +#define regexec pcreposix_regexec
  27. +#define regerror pcreposix_regerror
  28. +#define regfree pcreposix_regfree
  29. +
  30. #endif /* End of pcreposix.h */