Changeset 737b7c8 in git


Ignore:
Timestamp:
Nov 22, 2011, 8:02:39 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
e5541620720cbe23c473fe2acde51369f1171725
Parents:
aa2b525cdc4f68a1f4b17ffb3151cbdefce4a60c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-22 20:02:39+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-11-23 01:23:11+01:00
Message:
CHG/ADD: define CHAR_BIT & BIT_SIZEOF_LONG in misc/auxiliary.h
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/mod2.h

    raa2b525 r737b7c8  
    8181/* SIZEOF_LONG == SIZEOF_VOIDP is guaranteed by configure */
    8282#define ALIGN_8
    83 #endif
    84 
    85 #ifndef CHAR_BIT
    86 #define CHAR_BIT 8
    8783#endif
    8884
  • libpolys/misc/auxiliary.h.in

    raa2b525 r737b7c8  
    8888// ---------------- Singular standard types etc.
    8989// BOOLEAN
    90 
    9190#ifndef SIZEOF_LONG
    9291
     
    118117#error "Unexpected SIZEOF_LONG"
    119118#endif
     119
     120
     121#ifndef CHAR_BIT
     122#define CHAR_BIT (8)
     123#endif /*ifndef CHAR_BIT*/
     124
     125
     126#ifndef BIT_SIZEOF_LONG
     127#define BIT_SIZEOF_LONG ((CHAR_BIT)*(SIZEOF_LONG))
     128#endif /*ifndef BIT_SIZEOF_LONG*/
    120129
    121130
Note: See TracChangeset for help on using the changeset viewer.