Re: [Planner Dev] Fixes for gantt bugz # 148637, 149359 and 149651



On ons, 2004-08-11 at 01:33 +0100, lincoln phipps openmutual net wrote:

> >>That funny safe time value was 1st Jan 2038 so I now use,
> >>	mrp_time_compose( 2038,1,1,0,0,0);
> >>
> >>as thats more obvious.
> > 
> > 
> > Hm, that's a pretty expensive function so a hardcoded value with a
> > comment is fine :)
> > 
> 
> Its only used a few times so not too bad. Where can I store
> global constants i.e. not defines but const which all programs
> can read ? Then I can calculate once and reuse.

We could put it in the same place as MRP_TIME_MAX.

-- 
Imendio HB




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]