summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-04 21:35:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-04 21:35:24 +0300
commit72d19ead542f6cf59847c4605de68471f8f978a8 (patch)
tree974d0bc3feaf7164be683a3b72548a74ea14c7ac /include
parent577f845a0352522d256cbf51ace9b2e6769238f0 (diff)
no need to patch pcre either
Diffstat (limited to 'include')
-rw-r--r--include/m_regexp.h2
-rw-r--r--include/pcre.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/include/m_regexp.h b/include/m_regexp.h
index 7e61df1a99..70cb2ba7a1 100644
--- a/include/m_regexp.h
+++ b/include/m_regexp.h
@@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef MIM_REGEXP_H
#define MIM_REGEXP_H
-#include "../libs/pcre16/src/pcre.h"
+#include <pcre.h>
class MRegexp16
{
diff --git a/include/pcre.h b/include/pcre.h
new file mode 100644
index 0000000000..a6e99acf1e
--- /dev/null
+++ b/include/pcre.h
@@ -0,0 +1,7 @@
+#ifndef MIM_PCRE_H
+#define MIM_PCRE_H
+
+#define PCRE_UCHAR16 wchar_t
+#include "../libs/pcre16/src/pcre.h"
+
+#endif // MIM_PCRE_H