summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2019-04-25 14:49:48 +0200
committerGünther Deschner <gd@samba.org>2019-04-26 13:03:05 +0000
commit633698c971598090b6883d39d370ba202514ef32 (patch)
treee99b90b193a04309c4874b7f31c522e82a076057 /lib
parente28d172b00cadf492c22bd892e2dda3bf2fe2d70 (diff)
downloadsamba-633698c971598090b6883d39d370ba202514ef32.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/replace.h4
1 files changed, 0 insertions, 4 deletions
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