You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
553 B

  1. --- a/generic/tclStrToD.c
  2. +++ b/generic/tclStrToD.c
  3. @@ -73,7 +73,7 @@ typedef unsigned int fpu_control_t __att
  4. * MIPS floating-point units need special settings in control registers
  5. * to use gradual underflow as we expect.
  6. */
  7. -#if defined(__mips)
  8. +#if defined(__sgi) && defined(_COMPILER_VERSION)
  9. #include <sys/fpu.h>
  10. #endif
  11. /*
  12. @@ -2166,7 +2166,7 @@ TclInitDoubleConversion(void)
  13. } bitwhack;
  14. #endif
  15. -#if defined(__mips)
  16. +#if defined(__sgi) && defined(_COMPILER_VERSION)
  17. union fpc_csr mipsCR;
  18. mipsCR.fc_word = get_fpc_csr();