multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
This commit is contained in:
parent
30e556f4e5
commit
6f57e5c573
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.3 1997/04/06 08:47:31 cgd Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.4 1998/01/09 22:23:44 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1993
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 8.3 (Berkeley) 1/4/94
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
||||
|
||||
@ -93,3 +96,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.1 1997/10/14 06:48:26 sakamoto Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.2 1998/01/09 22:23:46 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
@ -31,6 +31,9 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* bits per char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
#define CHAR_MIN 0 /* min value in char */
|
||||
@ -61,3 +64,5 @@
|
||||
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
|
||||
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
|
||||
#endif /* !_ANSI_SOURCE */
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,9 @@
|
||||
/* $NetBSD: limits.h,v 1.7 1994/10/26 07:26:27 cgd Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.8 1998/01/09 22:23:47 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
/* Just use the common m68k definition */
|
||||
#include <m68k/limits.h>
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.11 1995/12/21 01:08:59 mycroft Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.12 1998/01/09 22:23:48 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
@ -82,3 +85,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.9 1994/10/26 07:50:48 cgd Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.10 1998/01/09 22:23:50 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||
*/
|
||||
|
||||
#ifndef _M68K_MACHINE_LIMITS_H_
|
||||
#define _M68K_MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
@ -82,3 +85,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _M68K_MACHINE_LIMITS_H_ */
|
||||
|
@ -1,3 +1,8 @@
|
||||
/* $NetBSD: limits.h,v 1.6 1994/10/26 08:46:34 cgd Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.7 1998/01/09 22:23:53 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#include <m68k/limits.h>
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.9 1996/03/19 02:45:48 jonathan Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.10 1998/01/09 22:23:54 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1993
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 8.3 (Berkeley) 1/4/94
|
||||
*/
|
||||
|
||||
#ifndef _MIPS_MACHINE_LIMITS_H_
|
||||
#define _MIPS_MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 6 /* Allow 31 bit UTF2 */
|
||||
|
||||
@ -94,3 +97,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _MIPS_MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,9 @@
|
||||
/* $NetBSD: limits.h,v 1.1.1.1 1995/07/25 23:12:16 chuck Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.2 1998/01/09 22:23:55 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
/* Just use the common m68k definition */
|
||||
#include <m68k/limits.h>
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.7 1994/10/26 08:24:31 cgd Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.8 1998/01/09 22:23:56 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
@ -82,3 +85,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,7 +1,12 @@
|
||||
/* $NetBSD: limits.h,v 1.2 1996/03/23 03:42:48 jonathan Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.3 1998/01/09 22:24:00 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#include <mips/limits.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define CLK_TCK 100 /* ticks per second */
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,7 +1,12 @@
|
||||
/* $NetBSD: limits.h,v 1.10 1996/03/19 03:06:28 jonathan Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.11 1998/01/09 22:24:01 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#include <mips/limits.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
#define CLK_TCK 60 /* ticks per second */
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.2 1998/01/09 22:24:02 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
@ -31,6 +31,9 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* bits per char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
#define CHAR_MIN 0 /* min value in char */
|
||||
@ -61,3 +64,5 @@
|
||||
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
|
||||
#endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */
|
||||
#endif /* !_ANSI_SOURCE */
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.7 1996/01/05 18:10:57 pk Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.8 1998/01/09 22:24:03 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 8.3 (Berkeley) 1/4/94
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
@ -84,3 +87,5 @@
|
||||
#define FLT_MAX 3.40282347E+38F
|
||||
#define FLT_MIN 1.17549435E-38F
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,3 +1,8 @@
|
||||
/* $NetBSD: limits.h,v 1.6 1994/11/21 21:33:49 gwr Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.7 1998/01/09 22:24:04 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#include <m68k/limits.h>
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,3 +1,8 @@
|
||||
/* $NetBSD: limits.h,v 1.1.1.1 1997/01/14 20:57:05 gwr Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.2 1998/01/09 22:24:05 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#include <m68k/limits.h>
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: limits.h,v 1.6 1995/12/31 15:05:19 ragge Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.7 1998/01/09 22:24:06 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 The Regents of the University of California.
|
||||
@ -35,6 +35,9 @@
|
||||
* @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||
|
||||
@ -82,3 +85,5 @@
|
||||
#define FLT_MAX 1.70141173E+38F
|
||||
#define FLT_MIN 2.93873588E-39F
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
@ -1,4 +1,7 @@
|
||||
/* $NetBSD: limits.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $ */
|
||||
/* $NetBSD: limits.h,v 1.2 1998/01/09 22:24:08 perry Exp $ */
|
||||
|
||||
#ifndef _MACHINE_LIMITS_H_
|
||||
#define _MACHINE_LIMITS_H_
|
||||
|
||||
/* Just use the common m68k definition */
|
||||
#include <m68k/limits.h>
|
||||
@ -6,3 +9,5 @@
|
||||
#ifdef KERNEL
|
||||
#define CLOCKS_PER_SEC 100
|
||||
#endif
|
||||
|
||||
#endif /* _MACHINE_LIMITS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user