From 91b0d53f8835bd274997eddb28b74ebc5ef00340 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 17 Feb 2019 15:07:24 +0100 Subject: filenames can exceed 128 bytes, even in testcases --- src/include/platform.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/platform.h b/src/include/platform.h index 1bae7ca44..01b0bcf9e 100644 --- a/src/include/platform.h +++ b/src/include/platform.h @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -281,4 +281,14 @@ atoll (const char *nptr); */ #define GNUNET_TERM_SIG SIGTERM + +#ifndef PATH_MAX +/** + * Assumed maximum path length. + */ +#define PATH_MAX 4096 +#endif + + + #endif -- cgit v1.2.3