2019-04-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/common/hbverdsp.c
  * src/nortl/nortl.c
    * use HB_MEM_STATISTICS instead of HB_MEM_USEDMAX to check if memory
      statistic module is enabled in harbour compiler -build message
This commit is contained in:
Przemysław Czerpak
2019-04-11 17:33:24 +02:00
parent 33f5c0eef4
commit edbafd4e1d
3 changed files with 11 additions and 1 deletions

View File

@@ -7,6 +7,12 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2019-04-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/hbverdsp.c
* src/nortl/nortl.c
* use HB_MEM_STATISTICS instead of HB_MEM_USEDMAX to check if memory
statistic module is enabled in harbour compiler -build message
2019-04-11 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/dbinfo.ch
* src/rdd/dbf1.c

View File

@@ -132,7 +132,7 @@ void hb_verBuildInfo( void )
}
hb_conOutErr( "Build options: ", 0 );
if( hb_xquery( HB_MEM_USEDMAX ) != 0 )
if( hb_xquery( HB_MEM_STATISTICS ) != 0 )
hb_conOutErr( "(memory tracking) ", 0 );
#if defined( HB_TR_INFO ) && ( HB_TR_LEVEL == HB_TR_INFO || HB_TR_LEVEL == HB_TR_DEBUG )
hb_conOutErr( "(tracing) ", 0 );

View File

@@ -233,6 +233,10 @@ HB_SIZE hb_xquery( int iMode )
case HB_MEM_USEDMAX:
nResult = s_nMemoryMaxConsumed;
break;
case HB_MEM_STATISTICS:
nResult = 1;
break;
}
#else
HB_SYMBOL_UNUSED( iMode );