vp-build/srcpkgs/mog/patches/name_max.patch

13 lines
250 B
Diff

--- sources/path.cpp 2008-09-13 21:31:49.000000000 +0200
+++ sources/path.cpp 2015-11-18 19:02:00.715596008 +0100
@@ -10,7 +10,9 @@
#include <stdio.h>
#include <string.h>
+#if !defined(NAME_MAX)
#define NAME_MAX 256
+#endif
/* Paths: */