X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/86ddd98d63910f57b5aaacc6d77e09aa65b10b32..a1ebfb2e46e13ee87afc91856a4af38175735d74:/src/exim_monitor/em_version.c?ds=sidebyside diff --git a/src/exim_monitor/em_version.c b/src/exim_monitor/em_version.c index 336f2ae97..8f047ce5a 100644 --- a/src/exim_monitor/em_version.c +++ b/src/exim_monitor/em_version.c @@ -2,25 +2,16 @@ * Exim Monitor * *************************************************/ +/* Copyright (c) The Exim Maintainers 2020 - 2024 */ /* Copyright (c) University of Cambridge 1995 - 2018 */ -/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #define EM_VERSION_C -/* Needed by macros.h */ -/* Some systems have PATH_MAX and some have MAX_PATH_LEN. */ - -#ifndef PATH_MAX -# ifdef MAX_PATH_LEN -# define PATH_MAX MAX_PATH_LEN -# else -# define PATH_MAX 1024 -# endif -#endif - #include "mytypes.h" #include "store.h" +#include "path_max.h" #include "macros.h" #include #include @@ -33,8 +24,10 @@ extern uschar *version_date; void version_init(void) { +#ifndef EXIM_BUILD_DATE_OVERRIDE int i = 0; uschar today[20]; +#endif version_string = US"2.06";