Changeset caf8c6 in git for kernel/mod2.h


Ignore:
Timestamp:
Mar 22, 2018, 11:34:54 AM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
556097841b7ad9fa7668ad61e04b914a898af42c
Parents:
bd0e073bf0ae20c6d66da9cd3ea1a713bb29dd6c
Message:
chg: HAVE_ASSUME -> !SING_NDEBUG
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/mod2.h

    rbd0e07 rcaf8c6  
    153153/* undefine to enable inline */
    154154#define NO_INLINE
    155 
    156 /* undefine to disable assume -- should normally be defined for SING_NDEBUG */
    157 #define HAVE_ASSUME
    158155
    159156/* undef PDEBUG to disable checks of polys
     
    383380#endif
    384381
    385 #ifndef HAVE_ASSUME
     382#ifdef SING_NDEBUG
    386383#define assume(x) do {} while (0)
    387384#define r_assume(x) do {} while (0)
    388 #else /* ! HAVE_ASSUME */
     385#else /* SING_NDEBUG */
    389386
    390387#define assume_violation(s,f,l) \
     
    414411}                                               \
    415412while (0)
    416 #endif /* HAVE_ASSUME */
     413#endif /* SING_NDEBUG */
    417414
    418415/* do have RDEBUG, unless we are doing the very real thing */
    419 #ifdef HAVE_ASSUME
     416#ifndef SING_NDEBUG
    420417#ifndef RDEBUG
    421418#define RDEBUG
Note: See TracChangeset for help on using the changeset viewer.