Closed
Bug 30954
Opened 24 years ago
Closed 24 years ago
build fails on digital unix because of missing usleep() prototype
Categories
(Core :: XUL, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: blizzard, Assigned: blizzard)
Details
Jim Nance ( star that he is ) sent this patch to Mike Shaver who sent it to me. I'm putting it in this bug so that I don't forget about it and will check it in after the beta branch gets cut. cvs diff -u nsWindow.cpp Index: nsWindow.cpp =================================================================== RCS file: /cvsroot/mozilla/widget/src/gtk/nsWindow.cpp,v retrieving revision 1.252 diff -u -r1.252 nsWindow.cpp --- nsWindow.cpp 2000/03/04 05:04:09 1.252 +++ nsWindow.cpp 2000/03/07 12:10:29 @@ -58,6 +58,19 @@ #include <unistd.h> +#ifdef NEED_USLEEP_PROTOTYPE +extern int usleep(unsigned int); +#endif +#if defined(__osf__) && !defined(_XOPEN_SOURCE_EXTENDED) +/* +** DEC's compiler requires _XOPEN_SOURCE_EXTENDED to be defined in +** order for it to see the prototype for usleep in unistd.h, but if +** we define that the build breaks long before getting here. So +** put the prototype here explicitly. +*/ +extern "C" int usleep(useconds_t); +#endif + #undef DEBUG_DND_XLATE #define MODAL_TIMERS_BROKEN
CLS checked in a different fix that makes this work. This patch is no longer necessary.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•24 years ago
|
||
Please ignore the spam. Changing address.
Assignee: blizzard → blizzard
Status: RESOLVED → NEW
Assignee | ||
Comment 3•24 years ago
|
||
bustage from my reassign
Status: NEW → RESOLVED
Closed: 24 years ago → 24 years ago
Comment 4•24 years ago
|
||
verified fixed per jim nance (the star that he is).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•