diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 962a2f8c0e..88cbdc2bbc 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-02-17 11:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * tests/bldtest/bldtest.c + ! Fixed to build on bcc. + + * contrib/hbwin/legacycd.c + ! Fixed typo (reported as bcc warning). + 2010-02-17 11:39 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbwince.c * include/hbwince.h diff --git a/harbour/contrib/hbwin/legacycd.c b/harbour/contrib/hbwin/legacycd.c index e87ca77825..2d09276404 100644 --- a/harbour/contrib/hbwin/legacycd.c +++ b/harbour/contrib/hbwin/legacycd.c @@ -152,7 +152,7 @@ HB_FUNC( GETPROCADDRESS ) hb_xfree( pszFuncName ); } - hb_retptr( hDLL ); + hb_retptr( lpFunction ); } else hb_retptr( NULL ); diff --git a/harbour/tests/bldtest/bldtest.c b/harbour/tests/bldtest/bldtest.c index 2e543d0cd6..3bc0c1eaca 100644 --- a/harbour/tests/bldtest/bldtest.c +++ b/harbour/tests/bldtest/bldtest.c @@ -15,7 +15,11 @@ int main() printf("\t sizeof(short int)=%d\n", (int) sizeof(short int) ); printf("\t sizeof(int)=%d\n", (int) sizeof(int) ); printf("\t sizeof(long int)=%d\n", (int) sizeof(long int) ); +#if defined( __BORLANDC__ ) + printf("\tsizeof(long long int)=%d\n", (int) sizeof(__int64) ); +#else printf("\tsizeof(long long int)=%d\n", (int) sizeof(long long int) ); +#endif printf("\t sizeof(float)=%d\n", (int) sizeof(float)); printf("\t sizeof(double)=%d\n", (int) sizeof(double)); printf("\t sizeof(long double)=%d\n", (int) sizeof(long double));