File: builddate.c

package info (click to toggle)
darkplaces 0~20140513+svn12208-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,948 kB
  • ctags: 30,599
  • sloc: ansic: 175,254; pascal: 484; makefile: 469; perl: 372; objc: 245; sh: 99
file content (17 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define STRINGIFY2(arg) #arg
#define STRINGIFY(arg) STRINGIFY2(arg)

extern const char *buildstring;
const char *buildstring =
#ifndef NO_BUILD_TIMESTAMPS
__TIME__ " " __DATE__ " "
#endif
#ifdef SVNREVISION
STRINGIFY(SVNREVISION)
#else
"-"
#endif
#ifdef BUILDTYPE
" " STRINGIFY(BUILDTYPE)
#endif
;