summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-10 22:31:34 -0800
committerJeremy Allison <jra@samba.org>2007-11-10 22:31:34 -0800
commit2b3c44e4fb980335c22abcc07a88f32b13e5918f (patch)
tree47eedc95e86696e59a7ce650b5a3eb03a8a1be9e /source3/lib/replace
parent41ae2a0a17d3f67252e81a6db730f87ce26fb939 (diff)
downloadsamba-2b3c44e4fb980335c22abcc07a88f32b13e5918f.tar.gz
samba-2b3c44e4fb980335c22abcc07a88f32b13e5918f.tar.bz2
samba-2b3c44e4fb980335c22abcc07a88f32b13e5918f.zip
Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index 973c68ee14..36a355f0a9 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -536,4 +536,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 */