summaryrefslogtreecommitdiffstats
path: root/sys/arch/powerpc/include/limits.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove SIZE_MAX from limits.h. It was added years ago before wemillert2015-04-301-4/+1
| | | | had a proper stdint.h. No ports fallout. OK guenther@ miod@
* We uniformly define size_t to be unsigned long and ssize_t to be long. Makekettenis2013-08-071-4/+4
| | | | | | | sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching type on all are architectures. ok millert@, matthew@
* Move MB_LEN_MAX into the machine-independent sys/limits.h header,guenther2009-11-271-3/+1
| | | | | | | | | rather than defining it separately for each architecture. Also set it to 4, to accommodate for future UTF-8 support (rfc3629). Diff by stsp, committing to catch the libc major bump ok kettenis@, guenther@
* Don't redefine SIZE_MAXmillert2006-01-061-1/+3
|
* convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@millert2005-12-141-6/+8
|
* backout prematurederaadt2002-09-151-2/+2
|
* KNFderaadt2002-09-151-2/+2
|
* Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.millert2002-07-301-1/+2
| | | | | | The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
* Introduce a new file, machine/internal_types.h, to hold that specific archespie2002-04-241-37/+1
| | | | | | | | | | | | | type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
* The "powerpc" port which has supported the newer Apple Macintosh powerpc baseddrahn2001-09-011-4/+4
| | | | | | | | | | | | | | is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/include to macppc/include Some files were not "moved" but wrapper files were created which include the powerpc/include version. Several of the powerpc/include files where changed to reflect that they are POWERPC_* not MACHINE_*.
* Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms ofmillert2000-07-311-1/+4
| | | | UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
* Make float.h and limits.h agree for DBL_MIN and DBL_MAX.rahnds2000-03-201-3/+3
|
* Some small fixes for non ofw systemspefo1998-08-061-1/+2
|
* Add UID_MAX and GID_MAXmillert1998-03-221-1/+4
|
* Monolithic PowerPC kernel, new includepefo1997-10-131-1/+13
|
* multiple inclusion protection; brenner@umr.eduderaadt1997-07-241-1/+6
|
* adding OpenBSD tag to files.rahnds1996-12-281-0/+1
|
* Check-in of powerpc kernel support.rahnds1996-12-211-0/+63
NOTE: This will not work until the other pieces are checked in. This is primarily the NetBSD powerpc port, with modifications to support ELF.