summaryrefslogtreecommitdiff
path: root/ace/Global_Macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Global_Macros.h')
-rw-r--r--ace/Global_Macros.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/Global_Macros.h b/ace/Global_Macros.h
index d4dc3dae628..9304ac28501 100644
--- a/ace/Global_Macros.h
+++ b/ace/Global_Macros.h
@@ -358,6 +358,15 @@ friend class ace_dewarn_gplusplus
} \
} \
while (0)
+# if defined (__Lynx__) && __LYNXOS_SDK_VERSION == 199701L
+ // LynxOS 3.0.0's g++ has trouble with the real versions of these.
+# define ACE_DES_FREE_TEMPLATE(POINTER,DEALLOCATOR,T_CLASS,T_PARAMETER)
+# define ACE_DES_ARRAY_FREE_TEMPLATE(POINTER,DEALLOCATOR,T_CLASS,T_PARAMETER)
+# define ACE_DES_FREE_TEMPLATE2(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
+# define ACE_DES_FREE_TEMPLATE3(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
+# define ACE_DES_FREE_TEMPLATE4(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
+# define ACE_DES_ARRAY_FREE_TEMPLATE2(POINTER,DEALLOCATOR,T_CLASS,T_PARAM1,T_PARAM2)
+# else
# define ACE_DES_FREE_TEMPLATE(POINTER,DEALLOCATOR,T_CLASS,T_PARAMETER) \
do { \
if (POINTER) \
@@ -422,6 +431,7 @@ friend class ace_dewarn_gplusplus
} \
} \
while (0)
+# endif /* defined (__Lynx__) && __LYNXOS_SDK_VERSION == 199701L */
# endif /* defined ! ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR */