projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d85f114
)
Added missed precompiler defs for cookie feature.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 12 Mar 2014 21:02:01 +0000
(22:02 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 12 Mar 2014 21:02:01 +0000
(22:02 +0100)
src/default.h
patch
|
blob
|
history
src/main.h
patch
|
blob
|
history
diff --git
a/src/default.h
b/src/default.h
index
14836ab
..
e699ce7
100644
(file)
--- 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
(file)
--- 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;