2008-11-01 13:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbgete.c
! fixed OS2 casting for non GCC compilers
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-11-01 13:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/common/hbgete.c
|
||||
! fixed OS2 casting for non GCC compilers
|
||||
|
||||
2008-11-01 12:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* include/hbextern.ch
|
||||
* source/rtl/memofile.c
|
||||
|
||||
@@ -84,11 +84,7 @@ char * hb_getenv( const char * szName )
|
||||
#elif defined(HB_OS_OS2)
|
||||
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
PSZ EnvValue = ( PSZ ) "";
|
||||
#else
|
||||
PCSZ EnvValue = "";
|
||||
#endif
|
||||
|
||||
if( DosScanEnv( ( PCSZ ) szName, &EnvValue ) == NO_ERROR )
|
||||
pszBuffer = hb_strdup( ( char * ) EnvValue );
|
||||
@@ -119,11 +115,7 @@ BOOL hb_getenv_buffer( const char * szName, char * szBuffer, int nSize )
|
||||
|
||||
#elif defined(HB_OS_OS2)
|
||||
{
|
||||
#ifdef __GNUC__
|
||||
PSZ EnvValue = ( PSZ ) "";
|
||||
#else
|
||||
PCSZ EnvValue = "";
|
||||
#endif
|
||||
PSZ EnvValue = ( PSZ ) "";
|
||||
|
||||
if( DosScanEnv( ( PCSZ ) szName, &EnvValue ) == NO_ERROR )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user