mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix inclusion of <pcre> when unbundling
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
5fecbc9973
commit
41a0db4c41
@ -27,17 +27,19 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
#if defined(POCO_UNBUNDLED)
|
||||
#include <pcre.h>
|
||||
#else
|
||||
//
|
||||
// Copy these definitions from pcre.h
|
||||
// to avoid pulling in the entire header file
|
||||
//
|
||||
extern "C"
|
||||
{
|
||||
struct real_pcre8_or_16; /* declaration; the definition is private */
|
||||
typedef struct real_pcre8_or_16 pcre;
|
||||
struct pcre_extra;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
namespace Poco {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user