2001-12-20 13:14 UTC+0000 Dave Pearson <davep@davep.org>

* include/hbdefs.h
     * Added "&& defined( HB_OS_WIN_32 )" to the #elif that tests for
       __GNUC__ when deciding how to #define HB_EXPORT.
This commit is contained in:
Dave Pearson
2001-12-20 13:17:31 +00:00
parent 1f95e5d9f0
commit 8cca82bec9
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,11 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2001-12-20 13:14 UTC+0000 Dave Pearson <davep@davep.org>
* include/hbdefs.h
* Added "&& defined( HB_OS_WIN_32 )" to the #elif that tests for
__GNUC__ when deciding how to #define HB_EXPORT.
2001-12-20 13:53 UTC+0100 Antonio Linares <alinares@fivetech.com>
* include/hbdefs.h
* HB_EXPORT definition for Borland C

View File

@@ -194,7 +194,7 @@ typedef PHB_FUNC HB_FUNC_PTR;
#if defined( __RSXNT__ )
#define HB_EXPORT _export
#elif defined( __GNUC__ )
#elif defined( __GNUC__ ) && defined( HB_OS_WIN_32 )
#define HB_EXPORT __attribute__ (( dllexport ))
#elif defined( __BORLANDC__ )
@@ -253,4 +253,4 @@ typedef BYTE HB_ATTR;
#define HB_CHAR_SOFT1 ( ( char ) 141 )
#define HB_CHAR_SOFT2 ( ( char ) HB_CHAR_LF )
#endif /* HB_DEFS_H_ */
#endif /* HB_DEFS_H_ */