git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace "Try to fix Solaris build" with compatibility compiler flags
[users/jgh/exim.git]
/
src
/
exim_monitor
/
em_version.c
diff --git
a/src/exim_monitor/em_version.c
b/src/exim_monitor/em_version.c
index ff9ac5c58578320904e2184fe5fb23856f1170b3..9b9c7d4171e1b88f14c6a012a8351e875d9c02cd 100644
(file)
--- a/
src/exim_monitor/em_version.c
+++ b/
src/exim_monitor/em_version.c
@@
-5,7
+5,10
@@
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* See the file NOTICE for conditions of use and distribution. */
/* Copyright (c) University of Cambridge 1995 - 2018 */
/* See the file NOTICE for conditions of use and distribution. */
+#define EM_VERSION_C
+
#include "mytypes.h"
#include "mytypes.h"
+#include "store.h"
#include "macros.h"
#include <string.h>
#include <stdlib.h>
#include "macros.h"
#include <string.h>
#include <stdlib.h>
@@
-33,7
+36,7
@@
version_date[0] = 0;
Ustrncat(version_date, EXIM_BUILD_DATE_OVERRIDE, 31);
#else
Ustrncat(version_date, EXIM_BUILD_DATE_OVERRIDE, 31);
#else
-Ustrcpy(today, __DATE__);
+Ustrcpy(today,
US
__DATE__);
if (today[4] == ' ') i = 1;
today[3] = today[6] = '-';
if (today[4] == ' ') i = 1;
today[3] = today[6] = '-';
@@
-42,8
+45,8
@@
version_date[0] = 0;
Ustrncat(version_date, today+4+i, 3-i);
Ustrncat(version_date, today, 4);
Ustrncat(version_date, today+7, 4);
Ustrncat(version_date, today+4+i, 3-i);
Ustrncat(version_date, today, 4);
Ustrncat(version_date, today+7, 4);
-Ustrcat(version_date, " ");
-Ustrcat(version_date, __TIME__);
+Ustrcat(version_date,
US
" ");
+Ustrcat(version_date,
US
__TIME__);
#endif
}
#endif
}