From: Günther Deschner Date: Thu, 25 Apr 2019 12:49:48 +0000 (+0200) Subject: Revert "lib/replace: define NAME_MAX for platforms that don't have it" X-Git-Tag: tdb-1.4.1~292 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=633698c971598090b6883d39d370ba202514ef32;p=thirdparty%2Fsamba.git 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 Reviewed-by: Ralph Boehme Autobuild-User(master): Günther Deschner Autobuild-Date(master): Fri Apr 26 13:03:05 UTC 2019 on sn-devel-184 --- diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 4d9b81f6825..212ed265d4a 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -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