Commit e3c894fb authored by Günther Deschner's avatar Günther Deschner
Browse files

lib/replace: define NAME_MAX for platforms that don't have it

This allows the vfs_glusterfs_fuse build to complete on AIX.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13872



Guenther
Signed-off-by: Günther Deschner's avatarGuenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider's avatarAndreas Schneider <asn@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Apr 16 15:14:50 UTC 2019 on sn-devel-144
parent a187b7ef
......@@ -858,6 +858,10 @@ typedef unsigned long long ptrdiff_t ;
#define PATH_MAX 1024
#endif
#ifndef NAME_MAX
#define NAME_MAX 255
#endif
#ifndef MAX_DNS_NAME_LENGTH
#define MAX_DNS_NAME_LENGTH 256 /* Actually 255 but +1 for terminating null. */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment