SRB2/src/comptime.c
Ronald Kinard 0909fce2e3 cmake: Configure source via cmake
silently fixing a bad malloc here too shhhhhhhhh
2015-01-28 18:03:41 -06:00

23 lines
468 B
C

/*
* Compiles date and time.
*
* Kalaron: Can't this be somewhere else instead of in an extra c file?
* Alam: Code::Block, XCode and the Makefile touch this file to update
* the timestamp
*
*/
#if (defined(CMAKECONFIG))
#include "config.h"
const char *comprevision = SRB2_COMP_REVISION;
#elif (defined(COMPVERSION))
#include "comptime.h"
#else
const char *comprevision = "illegal";
#endif
const char *compdate = __DATE__;
const char *comptime = __TIME__;