diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-07 20:24:49 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-07 20:24:49 +0000 |
commit | b590e127af3ae652c5b643f8e53f626bea1213b5 (patch) | |
tree | 144dad2436d08028d31d783ea7a7dbe4b43c7165 /ace/config-irix6.x-sgic++-nothreads.h | |
parent | d60c147713ff73254266fedf707173562c6c490c (diff) | |
download | ATCD-b590e127af3ae652c5b643f8e53f626bea1213b5.tar.gz |
fixed ACE_SIZEOF_LONG_DOUBLE determination
Diffstat (limited to 'ace/config-irix6.x-sgic++-nothreads.h')
-rw-r--r-- | ace/config-irix6.x-sgic++-nothreads.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/ace/config-irix6.x-sgic++-nothreads.h b/ace/config-irix6.x-sgic++-nothreads.h index 8baccdd99d3..7db41bf041c 100644 --- a/ace/config-irix6.x-sgic++-nothreads.h +++ b/ace/config-irix6.x-sgic++-nothreads.h @@ -22,9 +22,19 @@ #define ACE_CONFIG_IRIX6X_NTHR_H // The Irix 6.x float.h doesn't allow us to distinguish between a -// double and a long double. So, we have to hard-code this. We -// assume that it is necessary on Irix 5.3 also. -#define ACE_SIZEOF_LONG_DOUBLE 16 +// double and a long double. So, we have to hard-code this. Thanks +// to Bob Laferriere <laferrie@gsao.med.ge.com> for figuring it out. +#if defined (_MIPS_SIM) // 6.X System +# if defined (_ABI64) && (_MIPS_SIM == _ABI64) +# define ACE_SIZEOF_LONG_DOUBLE 16 +# elif defined (_NABI32) && (_MIPS_SIM == _NABI32) +# define ACE_SIZEOF_LONG_DOUBLE 16 +# elif defined (_ABIO32) && (_MIPS_SIM == _ABIO32) +# define ACE_SIZEOF_LONG_DOUBLE 8 +# endif +#else +# define ACE_SIZEOF_LONG_DOUBLE 8 // 5.3 System +#endif #define ACE_HAS_P_READ_WRITE #define ACE_LACKS_LINEBUFFERED_STREAMBUF |