diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2003-05-19 20:29:07 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2003-05-19 20:29:07 +0000 |
commit | 980ded9a7d8747828c4ec547654c90cbcb3b6910 (patch) | |
tree | 50ba8da890b4f95538f1ac9f649e5f45bc727251 /sys/sparc64/include/_limits.h | |
parent | 4a3284a150774a28e1c38733860ede6d00fa1a52 (diff) |
sys/sys/limits.h:
- Fix visibilty test for LONG_BIT and WORD_BIT. `#if defined(__FOO_VISIBLE)'
is alays wrong because __FOO_VISIBLE is always defined (to 0 for
invisibility).
sys/<arch>/include/limits.h
sys/<arch>/include/_limits.h:
- Style fixes.
Submitted by: bde
Reviewed by: bsdmike
Approved by: re (scottl)
Notes
Notes:
svn path=/head/; revision=115164
Diffstat (limited to 'sys/sparc64/include/_limits.h')
-rw-r--r-- | sys/sparc64/include/_limits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/_limits.h b/sys/sparc64/include/_limits.h index c5f8f7381094..353711c3cb16 100644 --- a/sys/sparc64/include/_limits.h +++ b/sys/sparc64/include/_limits.h @@ -30,8 +30,6 @@ #ifndef _MACHINE__LIMITS_H_ #define _MACHINE__LIMITS_H_ -#define __CHAR_BIT 8 /* number of bits in a char */ - /* * According to ANSI (section 2.2.4.2), the values below must be usable by * #if preprocessing directives. Additionally, the expression must have the @@ -43,6 +41,8 @@ * some other compilers as well, but this should not be depended on. */ +#define __CHAR_BIT 8 /* number of bits in a char */ + #define __SCHAR_MAX 0x7f /* max value for a signed char */ #define __SCHAR_MIN (-0x7f-1) /* min value for a signed char */ |