From e13f3a3c2c88f1e7a945e3e6e44ca3e84b26d592 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Mon, 16 May 2011 09:24:13 +0000 Subject: [PATCH] Got rid of pcre linker warnings. --- Library/pcre-8.10/config.h | 2 +- Plugins/PluginFolderInfo/FolderInfo.h | 1 + Plugins/PluginWebParser/WebParser.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/pcre-8.10/config.h b/Library/pcre-8.10/config.h index 73ab0258..b6031fce 100644 --- a/Library/pcre-8.10/config.h +++ b/Library/pcre-8.10/config.h @@ -274,7 +274,7 @@ them both to 0; an emulation function will be used. */ /* #undef PCRE_EXP_DEFN */ /* Define if linking statically (TODO: make nice with Libtool) */ -/* #undef PCRE_STATIC */ +#define PCRE_STATIC /* When calling PCRE via the POSIX interface, additional working storage is required for holding the pointers to capturing substrings because PCRE diff --git a/Plugins/PluginFolderInfo/FolderInfo.h b/Plugins/PluginFolderInfo/FolderInfo.h index 34480ffe..f70ad48b 100644 --- a/Plugins/PluginFolderInfo/FolderInfo.h +++ b/Plugins/PluginFolderInfo/FolderInfo.h @@ -3,6 +3,7 @@ #include #include #include +#include "../../Library/pcre-8.10/config.h" #include "../../Library/pcre-8.10/pcre.h" namespace PluginFolderInfo { diff --git a/Plugins/PluginWebParser/WebParser.cpp b/Plugins/PluginWebParser/WebParser.cpp index 8b0a2d1a..49faed91 100644 --- a/Plugins/PluginWebParser/WebParser.cpp +++ b/Plugins/PluginWebParser/WebParser.cpp @@ -27,6 +27,7 @@ #include #include #include +#include "../../Library/pcre-8.10/config.h" #include "../../Library/pcre-8.10/pcre.h" #include "../../Library/Export.h" // Rainmeter's exported functions