diff options
author | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-03 18:46:31 +0000 |
---|---|---|
committer | crodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-07-03 18:46:31 +0000 |
commit | 23cc7e9fdc87f27bc309d9b114c6507d620129f6 (patch) | |
tree | 5ce3bdde64b7d825bfdfda73b182527e41ef7b4f /ace | |
parent | ddb2b70c40592575f0d77588c2509315e4e0e1f8 (diff) | |
download | ATCD-23cc7e9fdc87f27bc309d9b114c6507d620129f6.tar.gz |
ChangeLogTag: Tue Jul 3 14:44:00 2001 Craig Rodrigues <crodrigues@bbn.com>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/config-win32-common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h index 029db65fc83..36dde43d5fd 100644 --- a/ace/config-win32-common.h +++ b/ace/config-win32-common.h @@ -87,9 +87,14 @@ #define ACE_Proper_Export_Flag __declspec (dllexport) #define ACE_Proper_Import_Flag __declspec (dllimport) #define ACE_EXPORT_SINGLETON_DECLARATION(T) template class __declspec (dllexport) T -#define ACE_IMPORT_SINGLETON_DECLARATION(T) extern template class T #define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllexport) SINGLETON_TYPE<CLASS, LOCK>; +#if defined (__BORLANDC__) +#define ACE_IMPORT_SINGLETON_DECLARATION(T) template class __declspec (dllimport) T +#define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllimport) SINGLETON_TYPE <CLASS, LOCK>; +#else /* __BORLANDC__ */ +#define ACE_IMPORT_SINGLETON_DECLARATION(T) extern template class T #define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) extern template class SINGLETON_TYPE <CLASS, LOCK>; +#endif /* __BORLANDC__ */ #endif /* !__MINGW32__ */ // Define ACE_HAS_WINSOCK2 to 0 in your config.h file if you do *not* |