From 182a41741c520df76941a091b853a369c97eee40 Mon Sep 17 00:00:00 2001 From: levine Date: Wed, 9 Sep 1998 02:38:41 +0000 Subject: Don't use ACE_HAS_STRING_CLASS with LynxOS >= 3.0.0 --- ace/config-lynxos.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ace/config-lynxos.h') diff --git a/ace/config-lynxos.h b/ace/config-lynxos.h index eb6b15764d4..7a9d8b89343 100644 --- a/ace/config-lynxos.h +++ b/ace/config-lynxos.h @@ -15,18 +15,22 @@ # if __GNUC_MINOR__ == 7 // The g++ that's distributed with LynxOS 3.0.0 needs this. + // It won't hurt with 2.5.0. # undef ACE_HAS_TEMPLATE_SPECIALIZATION +# elif __LYNXOS_SDK_VERSION <= 199603L + // If ACE_HAS_STRING_CLASS is used with LynxOS 3.0.0, some + // executables, such as IOStream_Test, require linking with + // libg++. +# define ACE_HAS_STRING_CLASS # endif /* __GNUC_MINOR__ == 7 */ #endif /* __GNUG__ */ #if defined (__x86__) + // PowerPC libraries don't seem to have alloca () # define ACE_HAS_ALLOCA # define ACE_HAS_ALLOCA_H -// ppc libraries don't seem to have alloca () #endif /* x86 */ -#define ACE_HAS_STRING_CLASS - // System include files are not in sys/, this gets rid of warning. #define __NO_INCLUDE_WARN__ -- cgit v1.2.1