mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
Include <pcre.h> for an unbundled build.
This commit is contained in:
@@ -28,17 +28,19 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef 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 {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user