diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-29 20:35:00 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-07-29 20:35:00 +0400 |
commit | 4c4773d96b1b2a157009590908fce032696281c5 (patch) | |
tree | c9709f5a21b4eafbfee04327884cb5c6d39006e4 /src/symbols_cache.c | |
parent | 513e304bc6255492eee5c78c97d222037087f429 (diff) | |
download | rspamd-4c4773d96b1b2a157009590908fce032696281c5.tar.gz rspamd-4c4773d96b1b2a157009590908fce032696281c5.zip |
* Fix build under CentOS 5 with old glib 2.12
* Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR
Rework include style.
Diffstat (limited to 'src/symbols_cache.c')
-rw-r--r-- | src/symbols_cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/symbols_cache.c b/src/symbols_cache.c index d5a129459..1f4b90198 100644 --- a/src/symbols_cache.c +++ b/src/symbols_cache.c @@ -730,6 +730,7 @@ validate_cache (struct symbols_cache *cache, struct config_file *cfg, gboolean s } cur = g_list_next (cur); } +#ifndef GLIB_HASH_COMPAT /* Now check each metric item and find corresponding symbol in a cache */ metric_symbols = g_hash_table_get_keys (cfg->metrics_symbols); cur = metric_symbols; @@ -763,6 +764,7 @@ validate_cache (struct symbols_cache *cache, struct config_file *cfg, gboolean s } cur = g_list_next (cur); } +#endif /* GLIB_COMPAT */ return TRUE; } |