Subj : Re: Date problem To : Shanti Rao From : Brendan Eich Date : Mon Apr 12 2004 06:52 pm Shanti Rao wrote: > The simple workaround is to make a change to lines 321ff of prmjtime.c > > #ifdef XP_WIN > JSInt64 s, us, > /*win2un = JSLL_INIT(0x19DB1DE, 0xD53E8000),*/ > win2un = (__int64)0x19DB1DE << 32 + 0xD53E8000, How does that differ exactly from the expansion of JSLL_INIT on your platform? Generate a .i file (preprocess only) and show the macro's expansion, if you can. Then try using that expansion and tweaking it till it works. I don't see what's tickling a compiler bug, but something is. Borland C, right? /be > ten = JSLL_INIT(0, 10); > FILETIME time, midnight; > #endif > > The macro JSLL_INIT is used three other times in jslong.c. Similar > modifications are obvious. > > Hope that helps somebody else, > > Shanti .