X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=config.hh;h=bf13b1e3d7dd4de03be76492953022cf09b67d1d;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=42fb59572fa640f4a6fe07fbdb1910a4c791f61f;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/config.hh b/config.hh index 42fb595..bf13b1e 100644 --- a/config.hh +++ b/config.hh @@ -27,9 +27,18 @@ # define HH_config_ 1 # # // Custom includes +# include +# include # # ///////////////////////////////hh.p//////////////////////////////////////// -# + +namespace senf { +namespace config { + + typedef boost::int_fast64_t time_type; + +}} + # include "local_config.hh" # # ifndef SENF_ABSOLUTE_INCLUDE_PATH @@ -70,12 +79,28 @@ # endif # # ifndef SENF_SENFLOG_LIMIT -# ifdef SENF_NO_DEBUG +# ifndef SENF_DEBUG # define SENF_SENFLOG_LIMIT senf::log::IMPORTANT # else -# define SENF_SENFLOG_LIMIT senf::log::VERBOSE +# define SENF_SENFLOG_LIMIT senf::log::NOTICE # endif # endif +# +# ifndef SENF_DEBUG_BACKTRACE_NUMCALLERS +# define SENF_DEBUG_BACKTRACE_NUMCALLERS 64 +# endif +# +# ifndef SENF_CONSOLE_MAX_COMMAND_ARITY +# define SENF_CONSOLE_MAX_COMMAND_ARITY 6 +# endif +# +# ifndef PHOENIX_LIMIT +# define PHOENIX_LIMIT 6 +# endif +# +# if __GLIBC__>=2 && __GLIBC_MINOR__>=8 +# define HAVE_TIMERFD 1 +# endif # # ///////////////////////////////hh.e//////////////////////////////////////// # endif