From b1aa0ba527b758558ff81344d8eb0e173a00f6ae Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Tue, 18 May 2004 16:04:57 +0000 Subject: should define WINT_M{AX,IN} independent from whether WCHAR_MIN is defined. Otherwise first including and then leads to no WINT_M{AX,IN} at all. PR: 64956 Approved by: das (mentor) --- sys/alpha/include/_stdint.h | 2 +- sys/amd64/include/_stdint.h | 2 +- sys/arm/include/_stdint.h | 2 +- sys/i386/include/_stdint.h | 2 +- sys/ia64/include/_stdint.h | 2 +- sys/powerpc/include/_stdint.h | 2 +- sys/sparc64/include/_stdint.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sys/alpha/include/_stdint.h b/sys/alpha/include/_stdint.h index 85dafeacf16a..1aed3e3b4efc 100644 --- a/sys/alpha/include/_stdint.h +++ b/sys/alpha/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/amd64/include/_stdint.h b/sys/amd64/include/_stdint.h index 6fd81e5eb5c2..0c56c6d4e1fa 100644 --- a/sys/amd64/include/_stdint.h +++ b/sys/amd64/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/arm/include/_stdint.h b/sys/arm/include/_stdint.h index 6dc5a7219c61..0d8aedfff5d6 100644 --- a/sys/arm/include/_stdint.h +++ b/sys/arm/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/i386/include/_stdint.h b/sys/i386/include/_stdint.h index 6dc5a7219c61..0d8aedfff5d6 100644 --- a/sys/i386/include/_stdint.h +++ b/sys/i386/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/ia64/include/_stdint.h b/sys/ia64/include/_stdint.h index 85dafeacf16a..1aed3e3b4efc 100644 --- a/sys/ia64/include/_stdint.h +++ b/sys/ia64/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/powerpc/include/_stdint.h b/sys/powerpc/include/_stdint.h index 6dc5a7219c61..0d8aedfff5d6 100644 --- a/sys/powerpc/include/_stdint.h +++ b/sys/powerpc/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ diff --git a/sys/sparc64/include/_stdint.h b/sys/sparc64/include/_stdint.h index 85dafeacf16a..1aed3e3b4efc 100644 --- a/sys/sparc64/include/_stdint.h +++ b/sys/sparc64/include/_stdint.h @@ -160,11 +160,11 @@ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX +#endif /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX -#endif #endif /* !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) */ -- cgit v1.2.3