X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=b3f63701f6addca63e24674fee8033f9e14f0381;hb=e38f1b959c56b11e2e0c48bcde12cb2a05f8ea84;hp=3942637e1457ed891a215f2761b93c3c1cd7f384;hpb=409c020044df74e1883710cbc1f2860dee8c5ac4;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index 3942637..b3f6370 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -37,6 +37,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "filter_frontend_net.hpp" #include "filter_http_client.hpp" #include "filter_http_file.hpp" +#include "filter_http_rewrite1.hpp" #include "filter_limit.hpp" #include "filter_load_balance.hpp" #include "filter_log.hpp" @@ -56,6 +57,7 @@ namespace mp = metaproxy_1; mp::FactoryStatic::FactoryStatic() { +#ifdef WIN32 struct metaproxy_1_filter_struct *buildins[] = { &metaproxy_1_filter_auth_simple, &metaproxy_1_filter_backend_test, @@ -67,6 +69,7 @@ mp::FactoryStatic::FactoryStatic() &metaproxy_1_filter_frontend_net, &metaproxy_1_filter_http_client, &metaproxy_1_filter_http_file, + &metaproxy_1_filter_http_rewrite1, &metaproxy_1_filter_limit, &metaproxy_1_filter_load_balance, &metaproxy_1_filter_log, @@ -87,6 +90,8 @@ mp::FactoryStatic::FactoryStatic() for (i = 0; buildins[i]; i++) add_creator(buildins[i]->type, buildins[i]->creator); +// WIN32 +#endif }