* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
on NetBSD and OpenBSD.
This commit is contained in:
parent
03dafa17df
commit
d5c1eef106
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-08-16 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict
|
||||||
|
on NetBSD and OpenBSD.
|
||||||
|
|
||||||
2013-08-15 Vladimir Testov <vladimir.testov@gmail.com>
|
2013-08-15 Vladimir Testov <vladimir.testov@gmail.com>
|
||||||
|
|
||||||
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.
|
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.
|
||||||
|
|
|
@ -21,6 +21,11 @@
|
||||||
|
|
||||||
#include <grub/charset.h>
|
#include <grub/charset.h>
|
||||||
|
|
||||||
|
#if defined(__NetBSD__) || defined(__OPENBSD__)
|
||||||
|
#define wchar_t grub_posix_wchar_t
|
||||||
|
#define mbstate_t grub_posix_mbstate_t
|
||||||
|
#endif
|
||||||
|
|
||||||
/* UCS-4. */
|
/* UCS-4. */
|
||||||
typedef grub_int32_t wint_t;
|
typedef grub_int32_t wint_t;
|
||||||
enum
|
enum
|
||||||
|
|
Loading…
Add table
Reference in a new issue