summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-10 22:31:34 -0800
committerStefan Metzmacher <metze@samba.org>2008-01-15 13:37:37 +0100
commit50ba04f51258abed6405ff0c8a6e1ea324ab5892 (patch)
tree851781eff1d87bb15ae4db2cffd1ec3eef83c628 /source4/lib
parent9170998427ebbb7abfd9b482fb6e0d051bca5205 (diff)
downloadsamba-50ba04f51258abed6405ff0c8a6e1ea324ab5892.tar.gz
samba-50ba04f51258abed6405ff0c8a6e1ea324ab5892.tar.bz2
samba-50ba04f51258abed6405ff0c8a6e1ea324ab5892.zip
Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze) (This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index f8a89a7213..3557684071 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -546,4 +546,8 @@ typedef int bool;
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
#endif /* _LIBREPLACE_REPLACE_H */