summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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