* grub-core/lib/posix_wrap/sys/types.h: Use OpenBSD approach: it's
less nice but more portable. * grub-core/lib/posix_wrap/wchar.h: Likewise.
This commit is contained in:
parent
a47a78be88
commit
5dd8205424
2 changed files with 0 additions and 6 deletions
|
@ -21,11 +21,7 @@
|
|||
|
||||
#include <grub/misc.h>
|
||||
|
||||
#if defined (__APPLE__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
#include <stddef.h>
|
||||
#else
|
||||
typedef grub_size_t size_t;
|
||||
#endif
|
||||
|
||||
typedef grub_ssize_t ssize_t;
|
||||
#ifndef GRUB_POSIX_BOOL_DEFINED
|
||||
|
|
|
@ -21,10 +21,8 @@
|
|||
|
||||
#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;
|
||||
|
|
Loading…
Reference in a new issue