Fix setinfo.
[xonotic/darkplaces.git] / builddate.c
1 #define STRINGIFY2(arg) #arg
2 #define STRINGIFY(arg) STRINGIFY2(arg)
3
4 extern const char *buildstring;
5 const char *buildstring =
6 #ifndef NO_BUILD_TIMESTAMPS
7 __TIME__ " " __DATE__ " "
8 #endif
9 #ifdef SVNREVISION
10 STRINGIFY(SVNREVISION)
11 #else
12 "-"
13 #endif
14 #ifdef BUILDTYPE
15 " " STRINGIFY(BUILDTYPE)
16 #endif
17 ;