X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=d229046ce9f46e4f6a154653c671f34d6cd173e5;hb=1b4c69359de2c1e21fac3d376d03169e7908a97c;hp=a196a9fee865bf0b491454291cad3862bb85369b;hpb=54da5e9522d662655631f4e76e90381d6e6bb84d;p=xboard.git diff --git a/backend.c b/backend.c index a196a9f..d229046 100644 --- a/backend.c +++ b/backend.c @@ -1344,7 +1344,11 @@ void InitBackEnd2 () { if (appData.debugMode) { +# ifdef __GIT_VERSION fprintf(debugFP, "Version: %s (%s)\n", programVersion, __GIT_VERSION); +# else + fprintf(debugFP, "Version: %s\n", programVersion); +# endif } ASSIGN(currentDebugFile, appData.nameOfDebugFile); // [HGM] debug split: remember initial name in use