Changeset 319eab in git for libpolys/polys/mod_raw.cc


Ignore:
Timestamp:
Oct 24, 2013, 3:09:05 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
64b9bf992f264ded468801493ed3f0c0b0d80082
Parents:
4f27bf50e1488440ad6012cf7e75f9c2d1e00e76
Message:
chg: singuname stuff -> standard defines
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.