It doesn't seem to be needed with vs, but those numbers are technically long longs.

This commit is contained in:
gigaherz 2014-03-25 17:21:49 +01:00
parent 0980591fa2
commit 3ef93addd0
1 changed files with 2 additions and 2 deletions

View File

@ -37,11 +37,11 @@ if %ERRORLEVEL% NEQ 0 (
echo You can safely ignore this message - a dummy string will be printed. echo You can safely ignore this message - a dummy string will be printed.
echo #define SVN_REV_UNKNOWN > "%CD%\svnrev.h" echo #define SVN_REV_UNKNOWN > "%CD%\svnrev.h"
echo #define SVN_REV 0 >> "%CD%\svnrev.h" echo #define SVN_REV 0ll >> "%CD%\svnrev.h"
echo #define SVN_MODS 0 >> "%CD%\svnrev.h" echo #define SVN_MODS 0 >> "%CD%\svnrev.h"
echo set SVN_REV=0 > "%CD%\postBuild.inc.cmd" echo set SVN_REV=0 > "%CD%\postBuild.inc.cmd"
) else ( ) else (
echo #define SVN_REV %REV% > "%CD%\svnrev.h" echo #define SVN_REV %REV%ll > "%CD%\svnrev.h"
echo #define SVN_MODS 0 /* Not implemented at the moment. */ >> "%CD%\svnrev.h" echo #define SVN_MODS 0 /* Not implemented at the moment. */ >> "%CD%\svnrev.h"
echo set SVN_REV=%REV% > "%CD%\postBuild.inc.cmd" echo set SVN_REV=%REV% > "%CD%\postBuild.inc.cmd"
) )