SRB2/src/comptime.c

24 lines
468 B
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
/*
* 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))
2014-03-15 16:59:03 +00:00
#include "comptime.h"
2014-03-15 16:59:03 +00:00
#else
const char *comprevision = "illegal";
2014-03-15 16:59:03 +00:00
#endif
const char *compdate = __DATE__;
const char *comptime = __TIME__;