File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ TessBaseAPI::~TessBaseAPI() {
140
140
* Returns the version identifier as a static string. Do not delete.
141
141
*/
142
142
const char * TessBaseAPI::Version () {
143
- #if defined(DEBUG ) && defined(GIT_REV )
143
+ #if defined(GIT_REV ) && ( defined(DEBUG) || defined(_DEBUG) )
144
144
return GIT_REV;
145
145
#else
146
146
return TESSERACT_VERSION_STR;
Original file line number Diff line number Diff line change 1
- #define GIT_REV "3.03 -rc1-159-g035b324 "
1
+ #define GIT_REV "3.04 -rc1-69-gaec22a4 "
Original file line number Diff line number Diff line change 1
- REM @echo off
2
- FOR /F " tokens=*" %%i IN ('call git describe --always') DO echo #define GIT_REV " %%i " > ..\port\vcsversion.h
1
+ @ echo off
2
+ FOR /F " tokens=*" %%i IN ('call git describe --tags -- always') DO echo #define GIT_REV " %%i " > ..\port\vcsversion.h
You can’t perform that action at this time.
0 commit comments