projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4197346
)
Workaround client-tags.c being compiled when it shouldn't be
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 27 Mar 2016 16:55:09 +0000
(16:55 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 27 Mar 2016 16:55:09 +0000
(16:55 +0000)
In theory the generated GNUmakefile should make sure that
the file is only compiled if FEATURE_CLIENT_TAGS is enabled,
but as Lee reported on jbswa-developers@ this currently does
not work.
client-tags.c
patch
|
blob
|
history
diff --git
a/client-tags.c
b/client-tags.c
index
165f820
..
31b49d1
100644
(file)
--- a/
client-tags.c
+++ b/
client-tags.c
@@
-28,6
+28,8
@@
#include "config.h"
+#ifdef FEATURE_CLIENT_TAGS
+
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
@@
-586,3
+588,4
@@
int client_tag_match(const struct pattern_spec *pattern,
return 0;
}
+#endif /* def FEATURE_CLIENT_TAGS */