From: Daniel Carl Date: Wed, 12 Mar 2014 21:02:01 +0000 (+0100) Subject: Added missed precompiler defs for cookie feature. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=bd11778d29d1fa75025044655cf4f34c8b53fc3e;p=vimb.git Added missed precompiler defs for cookie feature. --- diff --git a/src/default.h b/src/default.h index 14836ab..e699ce7 100644 --- a/src/default.h +++ b/src/default.h @@ -34,7 +34,9 @@ static char *default_config[] = { "set stylesheet=on", "set proxy=on", "set pagecache=on", +#ifdef FEATURE_COOKIE "set cookie-timeout=4800", +#endif "set strict-ssl=on", "set strict-focus=off", "set scrollstep=40", diff --git a/src/main.h b/src/main.h index 4717989..b7903e8 100644 --- a/src/main.h +++ b/src/main.h @@ -287,7 +287,9 @@ typedef struct { } State; typedef struct { +#ifdef FEATURE_COOKIE time_t cookie_timeout; +#endif int scrollstep; char *home_page; char *download_dir;