aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
Commit message (Collapse)AuthorAgeFilesLines
* DragonFly: fix buildDan Cross2025-07-251-0/+3
| | | | Fix the build for DragonFlyBSD.
* u.h: define __USE_POSIX to make glibc happyerentar2025-07-221-1/+1
| | | | glibc will only expose sigjmp_buf if __USE_POSIX is defined.
* Added a paren to fix a warning in u.hcamsn0w2022-07-261-1/+1
|
* libthread: simplifyRuss Cox2020-12-301-6/+1
| | | | | | | | Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.
* build: drop _XOPEN_SOURCE in u.h on AIXRuss Cox2020-05-181-1/+0
|
* lib9: use opendir/readdir to read directoriesRuss Cox2020-05-171-3/+0
| | | | | | | | | | | | | getdirentries(2) has been deprecated on macOS since 10.5 (ten releases ago). Using it requires disabling 64-bit inodes, but that in turn makes binaries incompatible with some dynamic libraries, most notably ASAN. At some point getdirentries(2) will actually be removed. For both these reasons, switch to opendir/readdir. A little clunky since we have to keep the DIR* hidden away to preserve the int fd interfaces, but it lets us remove a bunch of OS-specific code too.
* all: fix #includes for AIX, add a few AIX "implementation" filesBen Huntsman2020-05-071-0/+4
|
* all: update build scripts to fix AIX XL/C compatibilityBen Huntsman2020-05-071-2/+2
|
* all: remove Linux 2.4 vs 2.6 detectionRuss Cox2020-01-191-4/+2
| | | | | Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
* libthread: rm FreeBSD 4 codeRuss Cox2020-01-191-4/+2
| | | | Pretty sure FreeBSD 4 is gone now. :-)
* include: define _DEFAULT_SOURCEDavid du Colombier2016-11-201-0/+1
| | | | | | | | | | | Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are deprecated in favor of the _DEFAULT_SOURCE macro. See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8 Reviewed-on: https://plan9port-review.googlesource.com/1500 Reviewed-by: David du Colombier <0intro@gmail.com>
* openbsd updates (thanks Pascal Stumpf)Russ Cox2012-07-141-0/+2
| | | | | R=rsc http://codereview.appspot.com/6401049
* libmach, acid, db: 64-bit supportRuss Cox2012-02-191-4/+4
|
* u.h: add int8, uint8Russ Cox2010-07-141-0/+2
| | | | | R=rsc http://codereview.appspot.com/1791044
* make flate crc32 work when ulong is 64 bitsRuss Cox2010-02-071-0/+7
| | | | | | R=, rsc CC= http://codereview.appspot.com/203061
* lib9: fix dirread/stat mismatch on Snow LeopardRuss Cox2009-09-131-0/+3
| | | | http://codereview.appspot.com/116096
* more licensingRuss Cox2009-08-141-0/+2
|
* mergeRuss Cox2009-07-141-0/+3
|
* u.h: add SunOS 5.9Brian L. Suart2008-07-201-1/+2
|
* u.h: add Solaris 5.10 to makecontext listRuss Cox2008-06-011-1/+1
|
* u.h: add intptrRuss Cox2008-03-061-0/+1
|
* get strtoll on freebsdrsc2006-04-041-0/+8
|
* bsdrsc2006-01-271-0/+1
|
* move utf, fmt to libcrsc2005-11-261-2/+0
|
* Add autolib.rsc2005-10-291-0/+5
|
* sunrsc2005-07-271-2/+8
|
* openbsdrsc2005-07-211-2/+0
|
* no stdintrsc2005-07-201-2/+4
|
* new typesrsc2005-07-191-8/+12
|
* maybe openbsd has schedyield nowrsc2005-07-191-0/+1
|
* applersc2005-07-131-2/+5
|
* OS X Tiger changesrsc2005-05-071-5/+12
|
* Placate older versions of gcc.wkj2005-05-021-0/+3
|
* OpenBSD support.rsc2005-05-011-1/+4
|
* NetBSD support. Thanks to Christoph Lohmann.rsc2005-03-281-0/+8
|
* appease sun - nil is now just 0 instead of (void*)0rsc2005-03-151-12/+14
| | | | to fix function pointer problems.
* no more 9commandsrsc2005-01-111-1/+1
|
* os x changesrsc2005-01-111-1/+1
|
* sunos fixesrsc2005-01-071-0/+1
|
* fix autolib for gcc3+rsc2005-01-061-0/+10
|
* autolibrsc2005-01-041-0/+5
|
* Use osreldate.h to determine OS version under FreeBSD.wkj2004-12-291-1/+2
|
* more thread support, also add freebsd 5rsc2004-12-251-13/+21
|
* Continue the pthreads torture.rsc2004-09-211-3/+4
|
* Continue switching library over to pthreads when possible.rsc2004-09-171-0/+1
| | | | | Tprimes works on Linux 2.6. You can only have 128 procs though.
* Rewrite to remove dependence on rendezvous and its bizarrersc2004-09-171-0/+7
| | | | | | | data structures. Makes it easier to use pthreads too. Still need to add code for non-pthreads systems. Just a checkpoint to switch work to another machine.
* tweaksrsc2004-04-191-0/+1
|
* add s32int, s64int, s16intrsc2004-04-191-0/+5
|
* Today's changes.rsc2004-03-251-0/+93
| | | | More changes.
* Initial revisionrsc2003-09-301-0/+0