[geany/geany] 82590a: Add missing HAVE_SOCKET guard on in main_lib()
Enrico Tröger
git-noreply at xxxxx
Mon Sep 30 14:41:06 UTC 2019
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Thomas Martitz <kugel at rockbox.org>
Date: Mon, 30 Sep 2019 14:41:06 UTC
Commit: 82590af4cc2d52fc0060eda872ddb2a5782e6e6c
https://github.com/geany/geany/commit/82590af4cc2d52fc0060eda872ddb2a5782e6e6c
Log Message:
-----------
Add missing HAVE_SOCKET guard on in main_lib()
Modified Paths:
--------------
src/libmain.c
Modified: src/libmain.c
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -1178,13 +1178,15 @@ gint main_lib(gint argc, gchar **argv)
ui_set_statusbar(TRUE, message, g_strerror(config_dir_result));
g_warning(message, g_strerror(config_dir_result));
}
+#ifdef HAVE_SOCKET
if (socket_info.lock_socket == -1)
{
const gchar *message =
_("IPC socket could not be created, see Help->Debug Messages for details.");
ui_set_statusbar(TRUE, "%s", message);
g_warning("%s", message);
}
+#endif
/* apply all configuration options */
apply_settings();
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list