summaryrefslogtreecommitdiff
path: root/src/array.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2019-09-01 14:59:59 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2019-09-01 14:59:59 +0200
commit5eafc37e95736508f7e44705b7ca4a1876c09e2e (patch)
tree6d5f786af761618cb1338f6b71b1609b69e98d9b /src/array.h
parent5fc27aac6f47aaf06f454805f77c942c5a08393b (diff)
downloadlibgit2-cmn/pcre2.tar.gz
regex: make sure to link against PCRE2's regex functionscmn/pcre2
PCRE2's header defines just the basic names but that means that we'll link against libc's version while using PCRE2's struct definitions, leading to crashes. To work around this, package maintainers have added prefixes to the exported functions so we can link against them. But the definitions in the header are still of the basic names so we need to tell the compiler/linker to replace these names when linking.
Diffstat (limited to 'src/array.h')
0 files changed, 0 insertions, 0 deletions