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:
Przemyslaw Czerpak
2008-11-01 12:41:08 +00:00
parent e226b165e1
commit 989f28dd47
2 changed files with 5 additions and 9 deletions

View File

@@ -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

View File

@@ -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 )
{