summaryrefslogtreecommitdiff
path: root/ace/ACE_export.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2006-02-22 21:00:38 +0000
committerSteve Huston <shuston@riverace.com>2006-02-22 21:00:38 +0000
commitdd0690dd63ccbb0cfbdcd8bf87df0659d4b073b0 (patch)
tree5ee33a2768e52eab2abd66fa413ae665ad4a4e63 /ace/ACE_export.h
parenta1c6e07c08b156a76a8907799bbcae9ea81cc66e (diff)
downloadATCD-dd0690dd63ccbb0cfbdcd8bf87df0659d4b073b0.tar.gz
ChangeLogTag:Wed Feb 22 20:56:17 UTC 2006 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/ACE_export.h')
-rw-r--r--ace/ACE_export.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/ACE_export.h b/ace/ACE_export.h
index d987b43c6a2..beaa460a147 100644
--- a/ace/ACE_export.h
+++ b/ace/ACE_export.h
@@ -58,8 +58,15 @@
# else
# define ACE_NAMESPACE_INLINE_FUNCTION ACE_NAMESPACE_STORAGE_CLASS inline
# endif
+# define ACE_INLINE_TEMPLATE_FUNCTION inline
#else
# define ACE_NAMESPACE_INLINE_FUNCTION ACE_NAMESPACE_STORAGE_CLASS
+// Microsoft Visual C++ will accept 'extern'; others refuse.
+# if defined (_MSC_VER)
+# define ACE_INLINE_TEMPLATE_FUNCTION extern
+# else
+# define ACE_INLINE_TEMPLATE_FUNCTION
+# endif
#endif
#endif /* ACE_EXPORT_H */