Revert "lib/replace: define NAME_MAX for platforms that don't have it" master
authorGünther Deschner <gd@samba.org>
Thu, 25 Apr 2019 12:49:48 +0000 (14:49 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 26 Apr 2019 12:03:34 +0000 (14:03 +0200)
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>
lib/replace/replace.h

index 4d9b81f..212ed26 100644 (file)
@@ -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