Changeset 5743:6a88526f2e72


Ignore:
Timestamp:
08/17/07 18:15:01 (6 years ago)
Author:
was@…
Branch:
default
Message:

Fixes so SAGE will build on Solaris.

Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • sage/rings/real_rqdf.pyx

    r5480 r5743  
    8686from sage.structure.parent_gens cimport ParentWithGens 
    8787 
    88 cdef extern from "cygwinfix.h": pass  
    89   
     88cdef extern from "rqdf_fix.h": pass  
     89cdef extern from "ieeefp.h": pass  
    9090 
    9191cdef qd *qd_from_mpz(mpz_t z): 
  • sage/rings/rqdf_fix.h

    r4357 r5743  
    1 // cygwinfix.h 
    2 // defines NAN and INFINITY on cygwin 
     1// defines NAN and INFINITY on solaris, etc.  
    32 
    4 #if defined(__CYGWIN__) 
     3 
     4#if defined(__sun) 
     5 
    56#define NAN (0.0/0.0) 
    6 #define INFINITY HUGE_VALF 
     7#define INFINITY __builtin_huge_valf() 
     8 
     9#include <ieeefp.h>  # needed to define the function "infinite" 
     10 
    711#endif 
  • sage/rings/stdint.h

    r1788 r5743  
     1 
     2#if defined(__sun) 
     3typedef int int_fast32_t; 
     4typedef long int_fast64_t; 
     5#else 
    16#include <stdint.h> 
     7#endif 
    28 
    39#define INTEGER_MOD_INT32_LIMIT 46341          //  = ceil(sqrt(2^31-1)) 
    410#define INTEGER_MOD_INT64_LIMIT 2147483647     //  = 2^31-1 for now, should be 3037000500LL = ceil(sqrt(2^63-1)) 
     11 
  • setup.py

    r5714 r5743  
    349349     givaro_gfq, \ 
    350350 
    351     libsingular, \ 
     351    # libsingular, \ 
    352352 
    353353##     matrix_rational_sparse, 
Note: See TracChangeset for help on using the changeset viewer.