talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 66d5513bcc307b46e81c2f11cbe8e3ebcd3d46a8
parent 52cd610f6e365fb26320ce24305f655397ac6f55
Author: Ricardo Mones <ricardo@mones.org>
Date:   Mon, 16 Jun 2014 21:31:57 +0200

Fix bug #3211 “Fails to build in Debian hurd-i386 architecture”

Diffstat:
Msrc/common/utils.h | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/common/utils.h b/src/common/utils.h @@ -1,6 +1,6 @@ /* - * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team + * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client + * Copyright (C) 1999-2014 Hiroyuki Yamamoto and the Claws Mail team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -48,6 +48,11 @@ # include <wchar.h> #endif +/* The Hurd doesn't have this limit */ +#ifndef PATH_MAX + #define PATH_MAX 4196 +#endif + #ifdef G_OS_WIN32 #define fsync _commit