diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 12:01:17 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-20 12:01:17 +0400 |
commit | 8a8e00af0770e019ac1d9e829a38efbf61cc9c51 (patch) | |
tree | ef4a36316a2cce1ce77b58a9d04554c7699108e8 /source/creator/buildinfo.c | |
parent | cae71123e5b31b22913c8d143c6dacb3838c9f21 (diff) |
Attempted fix for mingw buildinfo.c compile problem.
Diffstat (limited to 'source/creator/buildinfo.c')
-rw-r--r-- | source/creator/buildinfo.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c index 3473814360b..db24b50b82d 100644 --- a/source/creator/buildinfo.c +++ b/source/creator/buildinfo.c @@ -31,10 +31,13 @@ #include <config.h> #endif +#define STRINGIFY(x) XSTRINGIFY(x) +#define XSTRINGIFY(x) #x + #ifdef BUILD_DATE -const char * build_date=BUILD_DATE; -const char * build_time=BUILD_TIME; -const char * build_rev=BUILD_REV; -const char * build_platform=BUILD_PLATFORM; -const char * build_type=BUILD_TYPE; +const char * build_date=STRINGIFY(BUILD_DATE); +const char * build_time=STRINGIFY(BUILD_TIME); +const char * build_rev=STRINGIFY(BUILD_REV); +const char * build_platform=STRINGIFY(BUILD_PLATFORM); +const char * build_type=STRINGIFY(BUILD_TYPE); #endif |