* grub-core/lib/posix_wrap/sys/types.h [__APPLE__]: Include stddef
rather than defining size_t ourselves to avoid conflict.
This commit is contained in:
parent
7de5e20af4
commit
176d5f7d82
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/sys/types.h [__APPLE__]: Include stddef
|
||||||
|
rather than defining size_t ourselves to avoid conflict.
|
||||||
|
|
||||||
2012-05-28 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/hfs.c (grub_hfs_dir): Use memset instead of
|
* grub-core/fs/hfs.c (grub_hfs_dir): Use memset instead of
|
||||||
|
|
|
@ -21,7 +21,11 @@
|
||||||
|
|
||||||
#include <grub/misc.h>
|
#include <grub/misc.h>
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
typedef grub_size_t size_t;
|
typedef grub_size_t size_t;
|
||||||
|
#else
|
||||||
|
#include <stddef.h>
|
||||||
|
#endif
|
||||||
typedef grub_ssize_t ssize_t;
|
typedef grub_ssize_t ssize_t;
|
||||||
#ifndef GRUB_POSIX_BOOL_DEFINED
|
#ifndef GRUB_POSIX_BOOL_DEFINED
|
||||||
typedef enum { false = 0, true = 1 } bool;
|
typedef enum { false = 0, true = 1 } bool;
|
||||||
|
|
Loading…
Add table
Reference in a new issue