lkml.org 
[lkml]   [1996]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel v2.0.x and others ./include/linux/stddef.h file.
On Tue, 16 Jul 1996, root wrote:

> Hello.
> I have a question about the stddef.h file in the
> ./include/linux directory of v2 kernel, linked to
> /usr/include/stddef.h. Since v2.0.0, I have had to make the
> following patch to the file or the kernel would not compile,
> noting several problems with using wchar_t definitions in the
> /usr/include/stdlib.h file. My most recent kernel with this
> Am I doing something wrong or is something just messed up??

I have similar problem here and posted something on this about 2 weeks
ago. The kernel compiles without problems. But other programms sometimes
need some help with stddef.h !

>
> This is the patch I use: diff -u stddef.h stddef.h.sav
> --- stddef.h Wed Dec 1 07:44:15 1993
> +++ stddef.h.sav Sun Jul 7 01:07:57 1996
> @@ -6,6 +6,16 @@
> typedef unsigned int size_t;
> #endif
>
> +/*
> +#ifdef wchar_t
> +#undef wchar_t
> +#endif
> +*/
> +
> +#ifndef _WCHAR_T
> +typedef unsigned long wchar_t;
> +#endif /* _WCHAR_T */
> +
> #undef NULL
> #define NULL ((void *)0)
>
[big snip]

- Sebastian Benoit Save the planet !
- benoit@mathematik.uni-marburg.de
- Benoit@Stud-Mailer.uni-marburg.de
- http://www.mathematik.uni-marburg.de/~benoit less is more !






\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.053 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site