2009-11-08 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
! fixed PHB_FUNC declaration. 'extern "C"' can be removed only for
BORLAND and other buggy compilers which may not accept it but
not for. In some platforms it's very important to keep correct
declarations because without this flag final binaries will not
work.
This commit is contained in:
@@ -17,6 +17,14 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-11-08 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbdefs.h
|
||||
! fixed PHB_FUNC declaration. 'extern "C"' can be removed only for
|
||||
BORLAND and other buggy compilers which may not accept it but
|
||||
not for. In some platforms it's very important to keep correct
|
||||
declarations because without this flag final binaries will not
|
||||
work.
|
||||
|
||||
2009-11-08 09:42 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com)
|
||||
* ChangeLog
|
||||
! Fixed wrong placing of my previous entry on ChangeLog
|
||||
|
||||
@@ -1609,8 +1609,13 @@ typedef unsigned char HB_U8;
|
||||
#define HARBOUR void
|
||||
#endif
|
||||
|
||||
typedef HARBOUR ( * PHB_FUNC )( void );
|
||||
typedef PHB_FUNC HB_FUNC_PTR;
|
||||
#if defined( __BORLANDC__ )
|
||||
typedef HARBOUR ( * PHB_FUNC )( void );
|
||||
typedef PHB_FUNC HB_FUNC_PTR;
|
||||
#else
|
||||
HB_EXTERN_C_ typedef HARBOUR ( * PHB_FUNC )( void );
|
||||
HB_EXTERN_C_ typedef PHB_FUNC HB_FUNC_PTR;
|
||||
#endif
|
||||
|
||||
typedef SHORT HB_SYMBOLSCOPE; /* stores symbol's scope */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user