mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +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>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(POCO_UNBUNDLED)
|
||||||
|
#include <pcre.h>
|
||||||
|
#else
|
||||||
//
|
//
|
||||||
// Copy these definitions from pcre.h
|
// Copy these definitions from pcre.h
|
||||||
// to avoid pulling in the entire header file
|
// to avoid pulling in the entire header file
|
||||||
//
|
//
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
struct real_pcre8_or_16; /* declaration; the definition is private */
|
|
||||||
typedef struct real_pcre8_or_16 pcre;
|
typedef struct real_pcre8_or_16 pcre;
|
||||||
struct pcre_extra;
|
struct pcre_extra;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user