diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 12:25:14 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 12:25:14 +0300 |
commit | 6088008d6c307a553b896eacee60a7ae69fda9dd (patch) | |
tree | 16787da296c228c607723df4f798b50b69636379 /config.h.in | |
parent | 9c455404d443c748b6398076c1746a12a7458bfc (diff) | |
download | rspamd-6088008d6c307a553b896eacee60a7ae69fda9dd.tar.gz rspamd-6088008d6c307a553b896eacee60a7ae69fda9dd.zip |
* With flag -t syntax of modules variables is also inspected
* Set "C" locale on start to avoid some troubles with logging
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 97da9c381..982046338 100644 --- a/config.h.in +++ b/config.h.in @@ -39,6 +39,8 @@ #cmakedefine HAVE_LIBGEN_H 1 +#cmakedefine HAVE_LOCALE_H 1 + #cmakedefine HAVE_GRP_H 1 #cmakedefine HAVE_PWD_H 1 @@ -229,6 +231,11 @@ #define HAVE_DIRNAME 1 #endif +#ifdef HAVE_LOCALE_H +#include <locale.h> +#define HAVE_SETLOCALE 1 +#endif + #include <errno.h> #include <signal.h> #include <event.h> |