* 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:
Vladimir 'phcoder' Serbinenko 2013-09-23 12:03:56 +02:00
parent a47a78be88
commit 5dd8205424
2 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -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;