File: builddate.c

package info (click to toggle)
darkplaces 0~20180908~beta1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 17,396 kB
  • sloc: ansic: 152,935; pascal: 393; makefile: 392; perl: 372; objc: 245; sh: 102
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
;