projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7890e3
)
fix bug 3947, 'Build break with --disable-libsm --enable-crash-dialog'
author
Paul
<paul@claws-mail.org>
Tue, 9 Jan 2018 12:33:05 +0000
(12:33 +0000)
committer
Paul
<paul@claws-mail.org>
Tue, 9 Jan 2018 12:33:05 +0000
(12:33 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 394540158ff6ba5b77dd1b642df49d397e7f422c..317b19608d46881acfeb9210f4e708fae351d89c 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-161,7
+161,7
@@
static DBusGProxy *awn_proxy = NULL;
#endif
gchar *prog_version;
-#if
def HAVE_LIBSM
+#if
(defined HAVE_LIBSM || defined CRASH_DIALOG)
gchar *argv0;
#endif
@@
-1009,7
+1009,7
@@
int main(int argc, char *argv[])
}
prog_version = PROG_VERSION;
-#if
def HAVE_LIBSM
+#if
(defined HAVE_LIBSM || defined CRASH_DIALOG)
argv0 = g_strdup(argv[0]);
#endif