diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 02:38:41 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-09 02:38:41 +0000 |
commit | 182a41741c520df76941a091b853a369c97eee40 (patch) | |
tree | 1862f2c058427e1359bc62d902cb9e0a2dc835a4 /ace/config-lynxos.h | |
parent | cfa3d523fe83d9fb9657e6ecddbcd81729dd712d (diff) | |
download | ATCD-182a41741c520df76941a091b853a369c97eee40.tar.gz |
Don't use ACE_HAS_STRING_CLASS with LynxOS >= 3.0.0
Diffstat (limited to 'ace/config-lynxos.h')
-rw-r--r-- | ace/config-lynxos.h | 10 |
1 files changed, 7 insertions, 3 deletions
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__ |