conflict with the typedefs in BeOS's <support/SupportDefs.h>.
(Acknowledgment: Matthew Zahorik <maz@albany.net>)
git-svn-id: svn://10.0.0.236/trunk@18585 18797224-902f-48f8-a5cc-f745e15eee43
Also, always define the data types PRWord and PRUword but
warn people not to use these two undocumented types in new code.
git-svn-id: svn://10.0.0.236/trunk@16498 18797224-902f-48f8-a5cc-f745e15eee43
to make sure we are right shifting a signed integer (in case
someone passes in an unsigned).
git-svn-id: svn://10.0.0.236/trunk@15596 18797224-902f-48f8-a5cc-f745e15eee43
the sa_len field on NEXTSTEP/OPENSTEP. Thanks to Balazs Pataki for
<pataki@ovid.aszi.sztaki.hu> for confirming this.
git-svn-id: svn://10.0.0.236/trunk@15554 18797224-902f-48f8-a5cc-f745e15eee43
poll(). The poll() in libc is not thread-safe, so we can't use
it with pthreads. This patch is contributed by Jeremy Lea
<reg@shale.csir.co.za>.
git-svn-id: svn://10.0.0.236/trunk@15511 18797224-902f-48f8-a5cc-f745e15eee43
macro is defined internally.
In _freebsd.h, include poll.h if poll is available.
Thanks to Jeremy Lea <reg@shale.csir.co.za> for suggesting the patches.
git-svn-id: svn://10.0.0.236/trunk@15319 18797224-902f-48f8-a5cc-f745e15eee43
tick is one millisecond on the Mac.
Files changed: _macos.h, mactime.c.
Also removed a temporary comment-out in prinrval.c.
git-svn-id: svn://10.0.0.236/trunk@15214 18797224-902f-48f8-a5cc-f745e15eee43
1. Ports to older revisions of some Unix variants, e.g., BSD/OS 1.1,
OSF1 V2.0, etc., contributed by Brian Ostrom <briano@netscape.com>.
2. QNX port, also contributed by Brian Ostrom.
3. New macro USE_MACH_DYLD to represent the dynamic library loading
API of NEXTSTEP and Rhapsody.
4. On platforms whose socket address has the sa_len field, make a
copy of the PRNetAddr argument for PR_Bind, PR_Connect, and PR_SendTo
and set its sa_len before passing it to the system calls. This
fix is suggested by Bert Driehuis <driehuis@playbeing.org>.
5. Removed the unused field _lockf64 of struct _MD_IOVector. Not
every Unix platform has lockf, and the POSIX file locking API
uses fcntl.
git-svn-id: svn://10.0.0.236/trunk@15158 18797224-902f-48f8-a5cc-f745e15eee43
for platforms that don't have 'long long'. In pr/src/Makefile and
lib/libc/src/Makefile, use single quotes so that we can avoid
using backslashes in double quotes (that doesn't work under
MKS shell).
git-svn-id: svn://10.0.0.236/trunk@12330 18797224-902f-48f8-a5cc-f745e15eee43
- Patch for MkLinux and glibc 2.1. Removed the MKLINUX macro.
This patch is contributed by Tom Rini <trini@kernel.crashing.org>.
- Patch to make the emulated threads work on ARM/Linux. Contributed
by raff@netwinder.org.
git-svn-id: svn://10.0.0.236/trunk@11916 18797224-902f-48f8-a5cc-f745e15eee43
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
git-svn-id: svn://10.0.0.236/trunk@10691 18797224-902f-48f8-a5cc-f745e15eee43
it breaks binary compatibility. We will put it back in
after the v3.0 release is branched off.
git-svn-id: svn://10.0.0.236/trunk@10525 18797224-902f-48f8-a5cc-f745e15eee43
This is because BSD systems have a funciton named 'index' in
<string.h>, and if you compile with the -Wshadow flag, gcc warns
that our declaration of `index' shadows global declaration.
Thanks to Ben Laurie <ben@algroup.co.uk> for the problem report
and the suggested workaround.
git-svn-id: svn://10.0.0.236/trunk@10523 18797224-902f-48f8-a5cc-f745e15eee43
This patch is contributed by Ben Laurie <ben@algroup.co.uk>.
Files changed: prtime.h and prtime.c.
git-svn-id: svn://10.0.0.236/trunk@10521 18797224-902f-48f8-a5cc-f745e15eee43
back to prproces.h because we don't want to break source
compatibility in this release.
git-svn-id: svn://10.0.0.236/trunk@10458 18797224-902f-48f8-a5cc-f745e15eee43
working directory of the new process. PR_SetStdioRedirect is renamed
PR_ProcessAttrSetStdioRedirect. The old name is retained but moved
to obsolete/probslet.h. This work is contributed by Ben Laurie
<ben@algroup.co.ul>.
Files changed: prproces.h, probslet.h, primpl.h, uxproces.c, ntmisc.c,
prinit.c, and parent.c.
git-svn-id: svn://10.0.0.236/trunk@10338 18797224-902f-48f8-a5cc-f745e15eee43