* grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining.

This commit is contained in:
Vladimir Serbinenko 2013-12-16 14:36:48 +01:00
parent 3e38c31a4b
commit d87cb3ae3c
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/errno.h: Undefine errno before redefining.
2013-12-16 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/efi/api.h: Define (u)intn_t based on pointer size and

View file

@ -21,6 +21,7 @@
#include <grub/err.h>
#undef errno
#define errno grub_errno
#define EINVAL GRUB_ERR_BAD_NUMBER
#define ENOMEM GRUB_ERR_OUT_OF_MEMORY