Changeset d30a399 in git for libpolys/misc/mylimits.h


Ignore:
Timestamp:
Oct 19, 2012, 9:59:20 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
8710ff0734063b049b29453b8d06161041fffbc7b37b3984a12e1552c7bafc9fd5a7849240ea7980
Parents:
f2359093b446e8c68c3bda0f0484c4dbf7bd93a8
Message:
chg: option handling: test,verbose renamed to si_opt_1,si_opt_2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/misc/mylimits.h

    rf23590 rd30a399  
    2121
    2222// #define ULONG_MAX (~0UL) // ??
     23#ifndef ULONG_MAX
    2324#define ULONG_MAX (~0L)
     25#endif
    2426
    2527// TODO: fixing the following BUG (!?) leads to wrong ring::bitmask
    2628// #if ~0UL != 4294967295UL
     29#ifndef LONG_MAX
    2730#if ~0UL == 4294967295UL
    2831#define LONG_MAX 9223372036854775807L
     
    3033#define LONG_MAX 2147483647L
    3134#endif
     35#endif
    3236
    3337#endif /* _MYLIMITS_H */
Note: See TracChangeset for help on using the changeset viewer.