aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-17lib9: use opendir/readdir to read directoriesRuss Cox1-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.
2020-05-07all: fix #includes for AIX, add a few AIX "implementation" filesBen Huntsman1-0/+4
2020-05-07all: update build scripts to fix AIX XL/C compatibilityBen Huntsman1-2/+2
2020-01-19all: remove Linux 2.4 vs 2.6 detectionRuss Cox1-4/+2
Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
2020-01-19libthread: rm FreeBSD 4 codeRuss Cox1-4/+2
Pretty sure FreeBSD 4 is gone now. :-)
2016-11-20include: define _DEFAULT_SOURCEDavid du Colombier1-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>
2012-07-14openbsd updates (thanks Pascal Stumpf)Russ Cox1-0/+2
R=rsc http://codereview.appspot.com/6401049
2012-02-19libmach, acid, db: 64-bit supportRuss Cox1-4/+4
2010-07-14u.h: add int8, uint8Russ Cox1-0/+2
R=rsc http://codereview.appspot.com/1791044
2010-02-07make flate crc32 work when ulong is 64 bitsRuss Cox1-0/+7
R=, rsc CC= http://codereview.appspot.com/203061
2009-09-13lib9: fix dirread/stat mismatch on Snow LeopardRuss Cox1-0/+3
http://codereview.appspot.com/116096
2009-08-14more licensingRuss Cox1-0/+2
2009-07-14mergeRuss Cox1-0/+3
2008-07-20u.h: add SunOS 5.9Brian L. Suart1-1/+2
2008-06-01u.h: add Solaris 5.10 to makecontext listRuss Cox1-1/+1
2008-03-06u.h: add intptrRuss Cox1-0/+1
2006-04-04get strtoll on freebsdrsc1-0/+8
2006-01-27bsdrsc1-0/+1
2005-11-26move utf, fmt to libcrsc1-2/+0
2005-10-29Add autolib.rsc1-0/+5
2005-07-27sunrsc1-2/+8
2005-07-21openbsdrsc1-2/+0
2005-07-20no stdintrsc1-2/+4
2005-07-19new typesrsc1-8/+12
2005-07-19maybe openbsd has schedyield nowrsc1-0/+1
2005-07-13applersc1-2/+5
2005-05-07OS X Tiger changesrsc1-5/+12
2005-05-02Placate older versions of gcc.wkj1-0/+3
2005-05-01OpenBSD support.rsc1-1/+4
2005-03-28NetBSD support. Thanks to Christoph Lohmann.rsc1-0/+8
2005-03-15appease sun - nil is now just 0 instead of (void*)0rsc1-12/+14
to fix function pointer problems.
2005-01-11no more 9commandsrsc1-1/+1
2005-01-11os x changesrsc1-1/+1
2005-01-07sunos fixesrsc1-0/+1
2005-01-06fix autolib for gcc3+rsc1-0/+10
2005-01-04autolibrsc1-0/+5
2004-12-29Use osreldate.h to determine OS version under FreeBSD.wkj1-1/+2
2004-12-25more thread support, also add freebsd 5rsc1-13/+21
2004-09-21Continue the pthreads torture.rsc1-3/+4
2004-09-17Continue switching library over to pthreads when possible.rsc1-0/+1
Tprimes works on Linux 2.6. You can only have 128 procs though.
2004-09-17Rewrite to remove dependence on rendezvous and its bizarrersc1-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.
2004-04-19tweaksrsc1-0/+1
2004-04-19add s32int, s64int, s16intrsc1-0/+5
2004-03-25Today's changes.rsc1-0/+93
More changes.
2003-09-30Initial revisionrsc1-0/+0