Branch: Tag:

2004-09-04

2004-09-04 22:46:41 by Martin Nilsson <mani@lysator.liu.se>

Moved sanity check to preprocessor.

Rev: lib/modules/Calendar.pmod/Time.pmod:1.34

26:      // sanity check    - static private int __sanity_check=lambda() - { -  if (5000000000!=5*inano) -  error("Calendar.Time needs bignums (Gmp.mpz)\n"); -  return 1; - }(); + #ifndef __AUTO_BIGNUM__ + #error Calendar.Time needs bignums (Gmp.mpz) + #endif      .Rule.Timezone Timezone_UTC=.Rule.Timezone(0,"UTC"); // needed for dumping