Browse Source

[core] add PACKAGE_NO_BUILD_DATE define to disable PACKAGE_BUILD_DATE

personal/stbuehler/wip
Stefan Bühler 8 years ago
parent
commit
9f6d56d5c4
  1. 9
      include/lighttpd/settings.h

9
include/lighttpd/settings.h

@ -217,8 +217,13 @@
# define INLINE static
#endif
#ifndef PACKAGE_BUILD_DATE
# define PACKAGE_BUILD_DATE __DATE__ " " __TIME__
#ifdef PACKAGE_NO_BUILD_DATE
# undef PACKAGE_BUILD_DATE
# define PACKAGE_BUILD_DATE "(build date not available)"
#else
# ifndef PACKAGE_BUILD_DATE
# define PACKAGE_BUILD_DATE __DATE__ " " __TIME__
# endif
#endif
#include <lighttpd/sys_memory.h>

Loading…
Cancel
Save