diff --git a/nufxlib-0/Version.c.in b/nufxlib-0/Version.c.in index de7d3a9..ec9ddb1 100644 --- a/nufxlib-0/Version.c.in +++ b/nufxlib-0/Version.c.in @@ -11,8 +11,12 @@ #include "NufxLibPriv.h" /* executable was build on or after this date (inserted automatically) */ -/* (some compilers e.g. MSC have __DATE__; use that?) */ -static const char gNuBuildDate[] = "BUILT"; /* approximate */ +#ifdef __DATE__ +static const char gNuBuildDate[] = __DATE__; +#else +static const char gNuBuildDate[] = "BUILT"; +#endif + static const char gNuBuildFlags[] = "OPTFLAGS";