mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
ed05cd26a8
commit
ecaf8cc5e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user