mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
Revert "lib/replace: define NAME_MAX for platforms that don't have it"
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13872 This reverts commit e3c894fb6b87df8aa56e29ef3b16ae1ef456a875. Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Apr 26 13:03:05 UTC 2019 on sn-devel-184
This commit is contained in:
parent
e28d172b00
commit
633698c971
@ -858,10 +858,6 @@ 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…
x
Reference in New Issue
Block a user