diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-07-20 07:34:00 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-07-20 07:34:00 +0000 |
commit | 403b486ea5f2ddc6b679c18b2c84c3412593a2c3 (patch) | |
tree | 35f9030f44c32ce2fb571333069e754d87017d43 /ACE/apps/gperf | |
parent | aada8ba8ab1371d08bc9852d4cfc3720e1153af5 (diff) | |
download | ATCD-403b486ea5f2ddc6b679c18b2c84c3412593a2c3.tar.gz |
Mon Jul 20 07:34:12 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* apps/gperf/src/Bool_Array.h:
* apps/gperf/src/Key_List.h:
Added workaround for BCB linker which needs these classes exported
Diffstat (limited to 'ACE/apps/gperf')
-rw-r--r-- | ACE/apps/gperf/src/Bool_Array.h | 8 | ||||
-rw-r--r-- | ACE/apps/gperf/src/Key_List.h | 11 |
2 files changed, 18 insertions, 1 deletions
diff --git a/ACE/apps/gperf/src/Bool_Array.h b/ACE/apps/gperf/src/Bool_Array.h index b8274d84ba9..76c600a088d 100644 --- a/ACE/apps/gperf/src/Bool_Array.h +++ b/ACE/apps/gperf/src/Bool_Array.h @@ -36,6 +36,10 @@ #if defined (ACE_HAS_GPERF) +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x620) +#include "gperf_export.h" +#endif + /** * Efficient lookup table abstraction implemented as a "Generation * Number" Array. @@ -43,7 +47,11 @@ * Uses a "Generation Numbering" implementation to minimize * initialization time. */ +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x620) +class ACE_GPERF_Export Bool_Array +#else class Bool_Array +#endif { public: /// Constructor diff --git a/ACE/apps/gperf/src/Key_List.h b/ACE/apps/gperf/src/Key_List.h index 968cbb20a14..ef64f188f6f 100644 --- a/ACE/apps/gperf/src/Key_List.h +++ b/ACE/apps/gperf/src/Key_List.h @@ -27,11 +27,16 @@ #define KEY_LIST_H #include "Options.h" + +#if defined (ACE_HAS_GPERF) + #include "List_Node.h" #include "Vectors.h" #include "ace/Copy_Disabled.h" -#if defined (ACE_HAS_GPERF) +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x620) +#include "gperf_export.h" +#endif /** * Describes a duplicate entry. @@ -59,7 +64,11 @@ public: * the Gen_Perf.hash function. A Key_List is a singly-linked list * of List_Nodes. */ +#if defined (__BORLANDC__) && (__BORLANDC__ < 0x620) +class ACE_GPERF_Export Key_List : private ACE_Copy_Disabled +#else class Key_List : private ACE_Copy_Disabled +#endif { public: Key_List (void); |