From: Jeremy Harris Date: Wed, 23 Mar 2016 21:50:20 +0000 (+0000) Subject: Cleanup redundant definition of PATH_MAX X-Git-Tag: exim-4_88_RC1~127 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/48dd94fd0c056591cba0935c97ce9b0481d00792 Cleanup redundant definition of PATH_MAX --- 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