mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas 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
This commit is contained in:
parent
a187b7ef8f
commit
e3c894fb6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user