DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
builddate.c
Go to the documentation of this file.
1
#define STRINGIFY2(arg) #arg
2
#define STRINGIFY(arg) STRINGIFY2(arg)
3
4
extern
const
char
*
buildstring
;
5
const
char
*
buildstring
=
6
#ifdef VCREVISION
7
STRINGIFY
(VCREVISION)
8
#else
9
"-"
10
#endif
11
#ifndef NO_BUILD_TIMESTAMPS
12
// " " __TIME__
13
" "
__DATE__
14
#endif
15
#ifdef BUILDTYPE
16
" "
STRINGIFY
(BUILDTYPE)
17
#endif
18
#ifdef __clang__
// must be first because clang pretends to be GCC 4.2...
19
" Clang "
20
// STRINGIFY(__clang_major__)
21
// "."
22
// STRINGIFY(__clang_minor__)
23
#elif defined(__GNUC__)
24
" GCC "
25
// STRINGIFY(__GNUC__)
26
// "."
27
// STRINGIFY(__GNUC_MINOR__)
28
#elif defined(_MSC_VER)
29
" MSC "
30
// STRINGIFY(_MSC_VER)
31
#endif
32
;
STRINGIFY
#define STRINGIFY(arg)
Definition
builddate.c:2
buildstring
const char * buildstring
Definition
builddate.c:5
builddate.c
Generated on Mon Mar 10 2025 16:50:14 for DarkPlaces by
1.12.0