Fix bug #3405. Thanks to sfraser's research we discovered that there was a nasty problem caused by mactime.c including xp_mcom.h (added by brade on 3/3) causing ctime to be redefined as macctime. This is bad since macctime calls ctime (can you say recursion, recusrion, recusrsion...). Fix was to add an #undef for ctime after including xp_mcom.h and sacrificing a purple dinosaur.

This commit is contained in:
sdagley%netscape.com 1999-03-05 05:39:20 +00:00
parent ed05cd26a8
commit ecaf8cc5e2

View File

@ -39,6 +39,8 @@ _END_C_LIB_DECL
#endif
#include "xp_mcom.h" /* prototypes for GetTimeMac, Mactime, Macmktime, Macctime, Maclocaltime, Macgmtime */
#undef ctime
// Because serial port and SLIP conflict with ReadXPram calls,
// we cache the call here
// The symptoms are the