Commit e23062d5 by Benjamin Kosnik Committed by Benjamin Kosnik

_G_config.h: Re-guard the __mbstate_t declaration.


2000-10-04  Benjamin Kosnik  <bkoz@gnu.org>

	* libio/_G_config.h : Re-guard the __mbstate_t declaration.

From-SVN: r36716
parent 50503ac8
2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
* libio/_G_config.h : Re-guard the __mbstate_t declaration.
2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com> 2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/22_locale/howto.html: Add link to proto-documentation on * docs/22_locale/howto.html: Add link to proto-documentation on
......
2000-09-27 benjamin kosnik <bkoz@haight.constant.com> 2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
* _G_config.h : Re-guard the __mbstate_t declaration.
2000-09-27 Benjamin Kosnik <bkoz@gnu.org>
* libioP.h: Remove fcntl.h include. * libioP.h: Remove fcntl.h include.
......
...@@ -30,15 +30,17 @@ typedef unsigned int wint_t; ...@@ -30,15 +30,17 @@ typedef unsigned int wint_t;
/* For use as part of glibc (native) or as part of libstdc++ (maybe /* For use as part of glibc (native) or as part of libstdc++ (maybe
not glibc) */ not glibc) */
#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) #ifndef __mbstate_t_defined
# define __mbstate_t_defined 1
# ifdef _GLIBCPP_USE_WCHAR_T # ifdef _GLIBCPP_USE_WCHAR_T
typedef struct typedef struct
{ {
int count; int count;
wint_t value; wint_t value;
}__mbstate_t; }__mbstate_t;
# endif # endif
#endif #endif
#undef __need_mbstate_t
typedef size_t _G_size_t; typedef size_t _G_size_t;
...@@ -49,6 +51,7 @@ typedef struct ...@@ -49,6 +51,7 @@ typedef struct
__off_t __pos; __off_t __pos;
__mbstate_t __state; __mbstate_t __state;
} _G_fpos_t; } _G_fpos_t;
typedef struct typedef struct
{ {
__off64_t __pos; __off64_t __pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment