_POSIX_SOURCE -> _POSIX_C_SOURCE, and add missing protection bits.

This commit is contained in:
kleink 1998-08-06 11:22:57 +00:00
parent e2a2525203
commit 709dda58f8
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: limits.h,v 1.4 1998/03/24 23:13:28 cgd Exp $ */
/* $NetBSD: limits.h,v 1.5 1998/08/06 11:22:57 kleink Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@ -63,13 +63,14 @@
#if !defined(_ANSI_SOURCE)
#define SSIZE_MAX INT_MAX /* max value for a ssize_t */
#if !defined(_POSIX_SOURCE)
#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
#define SIZE_T_MAX UINT_MAX /* max value for a size_t */
#define UQUAD_MAX 0xffffffffffffffffLL /* max unsigned quad */
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
#endif /* !_POSIX_SOURCE */
#endif /* !_POSIX_C_SOURCE && !_XOPEN_SOURCE */
#endif /* !_ANSI_SOURCE */
#endif /* _ARM_LIMITS_H_ */
#endif /* _ARM32_LIMITS_H_ */