* grub-core/lib/posix_wrap/wchar.h: Fix wchar_t and mbstate_t conflict

on NetBSD and OpenBSD.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-08-16 14:10:37 +02:00
parent 03dafa17df
commit d5c1eef106
2 changed files with 10 additions and 0 deletions

View File

@ -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>
* grub-core/gfxmenu/gui_list.c: Baseline misplacement fixed.

View File

@ -21,6 +21,11 @@
#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. */
typedef grub_int32_t wint_t;
enum