diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-09 03:23:58 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-09 03:23:58 +0000 |
commit | 45e7ab37b49d7110aad51f1e6b5b3f2c6f7ef3a3 (patch) | |
tree | e1ef033ba74d6095724cbac9d8a0cd9ce3c3903a /ace/config-qnx-neutrino.h | |
parent | 71a3ecfaa32afa8002a8c13df7a249d24d7e6e96 (diff) | |
download | ATCD-45e7ab37b49d7110aad51f1e6b5b3f2c6f7ef3a3.tar.gz |
ChangeLogTag: Wed Sep 08 22:19:47 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/config-qnx-neutrino.h')
-rw-r--r-- | ace/config-qnx-neutrino.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/config-qnx-neutrino.h b/ace/config-qnx-neutrino.h index 65e4990a516..a356b9c5684 100644 --- a/ace/config-qnx-neutrino.h +++ b/ace/config-qnx-neutrino.h @@ -21,6 +21,15 @@ # endif /* ! __ACE_INLINE__ */ #endif +#if defined(__OPTIMIZE__) +# if defined(__X86__) + // string.h can't be used by ACE with __OPTIMIZE__. +# undef __OPTIMIZE__ +# include <string.h> +# define __OPTIMIZE__ +# endif /* __X86__ */ +#endif /* __OPTIMIZE__ */ + #include "ace/config-g++-common.h" // The following defines the Neutrino compiler. |