File: builddate.c

package info (click to toggle)
darkplaces 0~20180412~beta1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,200 kB
  • sloc: ansic: 176,886; makefile: 485; pascal: 455; 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
;