From f85af68ac50d1cda4d68b11bf102e93245be57b3 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 Apr 2013 14:51:33 +0100 Subject: [PATCH] [build] Define __WINT_TYPE__ if necessary sparse does not define __WCHAR_TYPE__ or __WINT_TYPE__. We already define __WCHAR_TYPE__ if the compiler does not do so; do the same for __WINT_TYPE__. Signed-off-by: Michael Brown --- src/include/stddef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/stddef.h b/src/include/stddef.h index 83a0f0ed..20419bdf 100644 --- a/src/include/stddef.h +++ b/src/include/stddef.h @@ -25,6 +25,9 @@ FILE_LICENCE ( GPL2_ONLY ); #ifndef __WCHAR_TYPE__ #define __WCHAR_TYPE__ long int #endif +#ifndef __WINT_TYPE__ +#define __WINT_TYPE__ long int +#endif typedef __WCHAR_TYPE__ wchar_t; typedef __WINT_TYPE__ wint_t;