[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sys/types.h on Android includes stdint.h before defining time_t
From: |
Bruno Haible |
Subject: |
Re: sys/types.h on Android includes stdint.h before defining time_t |
Date: |
Sat, 21 Jan 2012 12:58:29 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Paul Eggert wrote:
> --- a/lib/stdint.in.h
> +++ b/lib/stdint.in.h
> @@ -521,9 +521,11 @@ typedef int _verify_intmax_size[sizeof (intmax_t) ==
> sizeof (uintmax_t)
> #if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX)
> /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
> included before <wchar.h>. */
> -# include <stddef.h>
> -# include <stdio.h>
> -# include <time.h>
> +# ifdef __bsdi__
> +# include <stddef.h>
> +# include <stdio.h>
> +# include <time.h>
> +# endif
> # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H
> # include <wchar.h>
> # undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H
This change might have negative effects on Tru64 and uClibc systems.
As you can see from the comments in wchar.in.h and from the documentation
doc/posix-headers/wchar.texi, at least 3 platforms Tru64, BSD/OS, uClibc
were affected.
Bruno
- Re: sys/types.h on Android includes stdint.h before defining time_t, (continued)
- Re: sys/types.h on Android includes stdint.h before defining time_t, Hans-Christoph Steiner, 2012/01/23
- Re: sys/types.h on Android includes stdint.h before defining time_t, Hans-Christoph Steiner, 2012/01/26
- Re: sys/types.h on Android includes stdint.h before defining time_t, Paul Eggert, 2012/01/26
- Re: sys/types.h on Android includes stdint.h before defining time_t, Hans-Christoph Steiner, 2012/01/26
- Re: sys/types.h on Android includes stdint.h before defining time_t, Simon Josefsson, 2012/01/27
- Re: sys/types.h on Android includes stdint.h before defining time_t, Hans-Christoph Steiner, 2012/01/27
- Re: sys/types.h on Android includes stdint.h before defining time_t, Werner Koch, 2012/01/27
Re: sys/types.h on Android includes stdint.h before defining time_t,
Bruno Haible <=
Re: sys/types.h on Android includes stdint.h before defining time_t, Hans-Christoph Steiner, 2012/01/20