summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/core/weechat.h8
-rw-r--r--src/plugins/weechat-plugin.h5
3 files changed, 8 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index a61ef582a..d7136f063 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-v0.4.1-dev, 2013-03-24
+v0.4.1-dev, 2013-03-25
This document lists all changes for each version.
@@ -84,6 +84,7 @@ Version 0.4.1 (under dev!)
"irc_message_auth")
* ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of
function config_new_option (bug #31050)
+* script: fix compilation on GNU/Hurd (patch #7977)
* script: create "script" directory on each action, just in case it has been
removed (bug #38472)
* script: add option script.scripts.autoload, add options "autoload",
diff --git a/src/core/weechat.h b/src/core/weechat.h
index b194afab9..a1fa71869 100644
--- a/src/core/weechat.h
+++ b/src/core/weechat.h
@@ -56,11 +56,9 @@
#define WEECHAT_WEBSITE_DOWNLOAD "http://www.weechat.org/download"
/* log file */
-
#define WEECHAT_LOG_NAME "weechat.log"
/* license */
-
#define WEECHAT_LICENSE_TEXT \
"WeeChat is free software; you can redistribute it and/or modify\n" \
"it under the terms of the GNU General Public License as published by\n" \
@@ -77,7 +75,6 @@
"along with WeeChat. If not, see <http://www.gnu.org/licenses/>.\n\n"
/* directory separator, depending on OS */
-
#ifdef _WIN32
#define DIR_SEPARATOR "\\"
#define DIR_SEPARATOR_CHAR '\\'
@@ -86,18 +83,15 @@
#define DIR_SEPARATOR_CHAR '/'
#endif
-/* some systems (like GNU/Hurd) doesn't define PATH_MAX */
-
+/* some systems like GNU/Hurd do not define PATH_MAX */
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
/* internal charset */
-
#define WEECHAT_INTERNAL_CHARSET "UTF-8"
/* global variables and functions */
-
extern int weechat_debug_core;
extern char *weechat_argv0;
extern int weechat_upgrading;
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h
index b965f0113..429eeecc6 100644
--- a/src/plugins/weechat-plugin.h
+++ b/src/plugins/weechat-plugin.h
@@ -24,6 +24,11 @@
#include <sys/types.h>
+/* some systems like GNU/Hurd do not define PATH_MAX */
+#ifndef PATH_MAX
+ #define PATH_MAX 4096
+#endif
+
struct t_config_option;
struct t_gui_window;
struct t_gui_buffer;