From 48dd94fd0c056591cba0935c97ce9b0481d00792 Mon Sep 17 00:00:00 2001 From: Jeremy Harris <jgh146exb@wizmail.org> Date: Wed, 23 Mar 2016 21:50:20 +0000 Subject: [PATCH] Cleanup redundant definition of PATH_MAX --- src/OS/Makefile-Base | 2 +- src/src/exim.h | 12 +----------- 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 -- 2.30.2