2012-12-06 15:51 UTC+0100 Viktor Szakats (harbour syenar.net)

* utils/hbmk2/hbmk2.prg
    * default .hbc version number changed to 1 (from 0)
This commit is contained in:
Viktor Szakats
2012-12-06 14:52:45 +00:00
parent eb9e4c246b
commit 6e5af48944
2 changed files with 6 additions and 2 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2012-12-06 15:51 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/hbmk2.prg
* default .hbc version number changed to 1 (from 0)
2012-12-06 15:19 UTC+0100 Viktor Szakats (harbour syenar.net)
+ extras/template/tests/hbstart.hb
* extras/template/readme.txt

View File

@@ -9834,7 +9834,7 @@ STATIC FUNCTION HBC_ProcessOne( hbmk, cFileName, nNestingLevel )
RETURN ""
ENDIF
nVersion := 0
nVersion := 1
AAddNew( hbmk[ _HBMK_aDEPTHBC ], { cFileName, nNestingLevel - 1 } )
@@ -10441,7 +10441,7 @@ STATIC FUNCTION HBC_ProcessOne( hbmk, cFileName, nNestingLevel )
ENDCASE
NEXT
cVersion := iif( nVersion == 0, "0", "0x" + hb_NumToHex( nVersion, 6 ) )
cVersion := iif( nVersion == 1, "1", "0x" + hb_NumToHex( nVersion, 6 ) )
AAddNew( hbmk[ _HBMK_aOPTPRG ], "-D" + hb_StrFormat( _HBMK_HAS_TPL_HBC, StrToDefine( hb_FNameName( cFileName ) ) ) + "=" + cVersion )