summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-03-23 21:50:20 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-04-09 15:48:51 +0100
commit48dd94fd0c056591cba0935c97ce9b0481d00792 (patch)
treedca3a149455d25cd634874d1537e028743fb879e
parentae20c80970d513823f3d36e73ec9657bf4b0e197 (diff)
Cleanup redundant definition of PATH_MAX
-rw-r--r--src/OS/Makefile-Base2
-rw-r--r--src/src/exim.h12
2 files changed, 2 insertions, 12 deletions
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index 0ae416410..cba5cd359 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -456,7 +456,7 @@ eximon.bin: $(EXIMON_EDITME) eximon $(OBJ_MONBIN) \
$(CFLAGS) $(XINCLUDE) -I. ../exim_monitor/em_version.c
@echo "$(LNCC) -o eximon.bin"
$(FE)$(PURIFY) $(LNCC) -o eximon.bin em_version.o $(LFLAGS) $(XLFLAGS) \
- $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 $(PCRE_LIBS) \
+ $(OBJ_MONBIN) -lXaw -lXmu -lXt -lXext -lX11 $(PCRE_LIBS) \
$(LIBS) $(LIBS_EXIMON) $(EXTRALIBS) $(EXTRALIBS_EXIMON) -lc
@if [ x"$(STRIP_COMMAND)" != x"" ]; then \
echo $(STRIP_COMMAND) eximon.bin; \
diff --git a/src/src/exim.h b/src/src/exim.h
index 5582ea94a..41d377110 100644
--- a/src/src/exim.h
+++ b/src/src/exim.h
@@ -584,19 +584,9 @@ default to EDQUOT if it exists, otherwise ENOSPC. */
# endif
#endif
-/* Ensure PATH_MAX is defined */
-
-#ifndef PATH_MAX
- #ifdef MAXPATHLEN
- # define PATH_MAX MAXPATHLEN
- #else
- # define PATH_MAX 1024
- #endif
-#endif
-
/* DANE w/o DNSSEC is useless */
#if defined(EXPERIMENTAL_DANE) && defined(DISABLE_DNSSEC)
- #undef DISABLE_DNSSEC
+# undef DISABLE_DNSSEC
#endif
#endif