summaryrefslogtreecommitdiff
path: root/include/sys/types.h
AgeCommit message (Collapse)AuthorLines
2012-09-07default features: make musl usable without feature test macrosRich Felker-0/+2
the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
2012-06-04_GNU_SOURCE is supposed to imply _LARGEFILE64_SOURCERich Felker-1/+1
this is ugly and stupid, but now that the *64 symbol names exist, a lot of broken GNU software detects them in configure, then either breaks during build due to missing off64_t definition, or attempts to compile without function declarations/prototypes. "fixing" it here is easier than telling everyone to add yet another feature test macro to their builds.
2012-05-22support _BSD_SOURCE feature test macroRich Felker-1/+1
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible.
2012-05-04add *64 junk for sys/*.h headersRich Felker-0/+9
2012-02-01apparently gnu caddr_t is supposed to be char *, not unsigned longRich Felker-1/+1
this type should never be used anyway, but some old junk uses it..
2011-04-11cleanup types stuff in headers, fix missing u_int*_t in sys/types.hRich Felker-7/+9
2011-04-10add some ugly legacy type names in sys/types.h (u_char etc.)Rich Felker-0/+8
2011-03-14remove some old cruft from sys/types.hRich Felker-1/+0
2011-02-20include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is definedRich Felker-0/+1
2011-02-17reorganize pthread data structures and move the definitions to alltypes.hRich Felker-0/+14
this allows sys/types.h to provide the pthread types, as required by POSIX. this design also facilitates forcing ABI-compatible sizes in the arch-specific alltypes.h, while eliminating the need for developers changing the internals of the pthread types to poke around with arch-specific headers they may not be able to test.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+56