aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox/camel-mbox-search.c')
-rw-r--r--camel/providers/mbox/camel-mbox-search.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c
index af9f820780..70dac7741a 100644
--- a/camel/providers/mbox/camel-mbox-search.c
+++ b/camel/providers/mbox/camel-mbox-search.c
@@ -37,6 +37,8 @@
#include "camel-mbox-folder.h"
#include "camel-mbox-search.h"
+/* #define HAVE_FILTER */
+#ifdef HAVE_FILTER
#include "filter-sexp.h"
#define HAVE_IBEX
@@ -321,3 +323,13 @@ camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expressi
return matches;
}
+
+#else /* HAVE_FILTER */
+
+GList *
+camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex)
+{
+ return NULL;
+}
+
+#endif /*! HAVE_FILTER */