Changeset 319eab in git


Ignore:
Timestamp:
Oct 24, 2013, 3:09:05 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
64b9bf992f264ded468801493ed3f0c0b0d80082
Parents:
4f27bf50e1488440ad6012cf7e75f9c2d1e00e76
Message:
chg: singuname stuff -> standard defines
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/cntrlc.cc

    r4f27bf r319eab  
    172172
    173173/*---------------------------------------------------------------------*/
    174 #if defined(ix86_Linux)
     174#if defined(__linux__) && defined(__i386)
    175175  #if !defined(HAVE_SIGCONTEXT) && !defined(HAVE_ASM_SIGCONTEXT_H)
    176176// we need the following structure sigcontext_struct.
     
    207207#endif
    208208
    209 #if defined(x86_64_Linux)
     209#if defined(__linux__) && defined(__amd64)
    210210#define HAVE_SIGSTRUCT
    211211#endif
  • libpolys/polys/mod_raw.cc

    r4f27bf r319eab  
    130130 *****************************************************************************/
    131131// relying on gcc to define __ELF__, check with cpp -dM /dev/null
    132 // Mac OsX is an ELF system, but does not define __ELF__
    133 // Solaris is an ELF system, but does not define __ELF__
    134132#if defined(__ELF__)
    135133#define HAVE_ELF_SYSTEM
    136134#endif
    137135
    138 #if defined(ppcMac_darwin)
    139 #define HAVE_ELF_SYSTEM
    140 #endif
    141 
    142 #if defined(ix86Mac_darwin)
    143 #define HAVE_ELF_SYSTEM
    144 #endif
    145 
    146 #if defined(x86_64Mac_darwin)
    147 #define HAVE_ELF_SYSTEM
    148 #endif
    149 
     136// Mac OsX is an ELF system, but does not define __ELF__
    150137#if (defined(__APPLE__) && defined(__MACH__)) && (!defined(HAVE_ELF_SYSTEM))
    151138#define HAVE_ELF_SYSTEM
    152139#endif
    153140
    154 #if defined(SunOS_5)
     141// Solaris is an ELF system, but does not define __ELF__
     142#if defined(__sun) && defined(__SVR4)
    155143#define HAVE_ELF_SYSTEM
    156144#endif
Note: See TracChangeset for help on using the changeset viewer.